I need the script command to turn on a status effect. done
edit
the script command that is simulare to this
for i in 1...$data_items.size
but instead of all items from id 1 and above to stand for "i" i want items from 1 - 22 to be "i"
Status Effect? Like a status ailment?
Try this:
$game_actors[$game_party.actors[actor_id]].add_state(state_id)
That should do it.
i got an error,
Game_Actor line 20 no methonerror occurred
Lol!
$game_actors[actor_id].add_state(state_id)
$game_party.actors[position].add_state(state_id)
ok just tried your code blizz and i got an error.
undefined method 'state_add'
lol, thats what i put i just put it wrong in the post.
$game_party.actors[1].add_state(17)
see thats what iv put
How many people are in your party? When it regers to
the placement is like this
First Person = 0
Second Person = 1
Third Person = 2
Fourth Person = 3
if thats the case, then i now what iv done wrong. i'll tell you if i was in a sec
edit
yep i was wrong, i put 1 where 0 should be.
thanks blizz, game_guy and shdw.
edit
i need a script command that is simulare to this
for i in 1...$data_items.size
but instead of all items from id 1 and above to stand for "i" i want items from 1 - 22 to be "i"
for i in 1...22 try that
If you want 1-22 INCLUDING 22, then you use
There's a difference between 1..22 & 1...22
thanks aqua it worked
what would 1...22 do. just wondering
I didnt mean to press the . three times it was an accident
for i in 1..22 means it does the thing starting with 1 and INCLUDING 22. if you had 1...22, it excludes the last term, so it ends on 21.
i see thanks. yay i know a little pit more about scripting (i know its not much put its a start :haha: )
Lol, sorry, I thought you knew about 0 being the first position. xD It's a bit hard to keep track of who knows how much scripting here at the forums.
its ok, i would have figured it out it some point :haha:.