- Joined
- Jun 1, 2014
- Messages
- 14
- Reaction score
- 3
- First Language
- English
- Primarily Uses
Hi everyone!
Im having a bit of trouble with the Row Formation scripting. First I'll show what I have right now.
<Physical Taunt>
<Custom Row Condition>
if ($gameTroop.rowAliveSize(1) == 0)
{
if ("Is a troop in row 2") // This is what I need help with
{
condition = true;
}
else
{
condition = false;
}
}
else
{
condition = false;
}
</Custom Row Condition>
I've been working on this for a little while now I cant seem to get it right. I want the troops in row 2 to get a custom condition when the troops in row 1 die.
There have been a few examples on here but they don't really work the way that I need. If you remove the inner if/else statement but keep the "condition = true;" what you get is BOTH troop and party members in their respective row 2s get the condition (Because ($gameTroop.rowAliveSize(1) == 0) is true).
I added the extra if statement to add an argument that asks if its a troop and not an actor.
I've tried so many different things and when I think I've found it I actually just make a statement that is always true haha...
Im having a bit of trouble with the Row Formation scripting. First I'll show what I have right now.
<Physical Taunt>
<Custom Row Condition>
if ($gameTroop.rowAliveSize(1) == 0)
{
if ("Is a troop in row 2") // This is what I need help with
{
condition = true;
}
else
{
condition = false;
}
}
else
{
condition = false;
}
</Custom Row Condition>
I've been working on this for a little while now I cant seem to get it right. I want the troops in row 2 to get a custom condition when the troops in row 1 die.
There have been a few examples on here but they don't really work the way that I need. If you remove the inner if/else statement but keep the "condition = true;" what you get is BOTH troop and party members in their respective row 2s get the condition (Because ($gameTroop.rowAliveSize(1) == 0) is true).
I added the extra if statement to add an argument that asks if its a troop and not an actor.
I've tried so many different things and when I think I've found it I actually just make a statement that is always true haha...

