- Joined
- Oct 19, 2013
- Messages
- 146
- Reaction score
- 79
- First Language
- Hungarian
- Primarily Uses
Hi i decided to use Galv`s actor duel minigame script which can be found here: http://galvs-scripts.com/galvs-actor-duel-mini-game/
I have 1 tiny problem and Galv said i should probably ask for help here.
Now this is as far i can tell not a big request.
So from the little i understand of Ruby this part of his script defines the condition of loosing a fight:
def end_match
@fight_pose = 0 if !dead?
end
Now i`m asking can someone help me with a quick snippet wich checks not for the dead term but a state id?
Or do i even have the right line?
As i said the point is to have the match end not when the state death is applied to one actor but when state id X is applied to an actor.
Any help is appreciated.
I have 1 tiny problem and Galv said i should probably ask for help here.
Now this is as far i can tell not a big request.
So from the little i understand of Ruby this part of his script defines the condition of loosing a fight:
def end_match
@fight_pose = 0 if !dead?
end
Now i`m asking can someone help me with a quick snippet wich checks not for the dead term but a state id?
Or do i even have the right line?
As i said the point is to have the match end not when the state death is applied to one actor but when state id X is applied to an actor.
Any help is appreciated.
Last edited by a moderator:

