Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About i_worldgem_bit props.
Author Message
amonvangrell
Banned

Posts: 338
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
About i_worldgem_bit props.
Hello again my friends, am trying to make a short spawner to my unique chars, so every time I want/need I can just type one command and the shard its back to this default spawned state.

But am facing terrible difficulties with the props of the i_worldgem_bit.

how to set with this function founded in another person script.

Code:
[FUNCTION F_SPAWNER]
SERV.NEWITEM=i_worldgem_bit
NEW.MORE=<ARGV[0]>
NEW.P=<ARGV[1]>,<ARGV[2]>,<ARGV[3]>,<ARGV[4]>
NEW.AMOUNT=<ARGV[5]>
NEW.MOREP=<ARGV[6]>,<ARGV[7]>,<ARGV[8]>
NEW.ATTR=0B0
NEW.TIMER=1

and calling, using: F_SPAWNER banker,2503,552,0,0,2,5,10,10
am facing the situation where the value I set its not constant, so I cannot ID each arg.

For example, if I change the ARG[2], from 2 to something else, BUM! the whole arguments kind of behave funny. Its like in a spawngem you have fix min/max for each value, like range, or amount...

It seems that they all go in morep, but is morep limited to an amount of characters?
05-22-2013 11:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: About i_worldgem_bit props.
You can access MOREP components individually as: MOREX MOREY MOREZ and MOREM... in other words this:

NEW.MOREP=<ARGV[6]>,<ARGV[7]>,<ARGV[8]>

...could be written as:

NEW.MOREX=<ARGV[6]> //minimum spawn time
NEW.MOREY=<ARGV[7]> //maximum spawn time
NEW.MOREZ=<ARGV[8]> //distance creature will wander from home
NEW.MOREM=0 //not used in a spawner
(This post was last modified: 05-23-2013 05:10 AM by Mordaunt.)
05-23-2013 12:19 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 338
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #3
RE: About i_worldgem_bit props.
(05-23-2013 12:19 AM)RanXerox Wrote:  You can access MOREP components individually as: MOREX MOREY MOREZ and MOREM... in other words this:

NEW.MOREP=<ARGV[6]>,<ARGV[7]>,<ARGV[8]>

...could be written as:

NEW.MOREX=<ARGV[6]> //minimum spawn time
NEW.MOREY=<ARGV[7]> //maximum spawn time
NEW.MOREZ=<ARGV[8]> //distance creature will wander from home
NEW.MOREM=0 //not used in a spawner

thank you so much! you made my day!Lol
05-23-2013 06:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)