This matter has something related to the thread below, it was locked before I even knew it so I make another thread about it.
http://www.rmxp.org/forums/showthread.php?t=31928
Heres the code that I need help with
I'll retrace my steps:
First, I set up a common event with a parallel process trigger
Then, set up a conditional branch and use the last option "script" to put in this code"
Then, I set up a command to make the actor equip a weapon which makes the common event looks like this:
@> Conditional Branch: Script: $game_actors[XXX].weapon_id != 0
@>Change Equipment: [Actor1], Weapon = [Sword]
@>
: Branch End
@>
When I turn ON the switch which triggers the parallel process of the common event, there comes the error.
The point I need the script is to make the actor equip the default weapon in case he wasn't holding any equipment, did I misused the script?
For the Level up script. I assign the codes to a common event that shows up a message as the actor level up, it did but all the time even when the actor didn't leveled up. Did I make any mistake again?
BTW, was the script not compatible with the SDK script? :-/
http://www.rmxp.org/forums/showthread.php?t=31928
Heres the code that I need help with
Code:
$game_actors[XXX].weapon_id != 0
I'll retrace my steps:
First, I set up a common event with a parallel process trigger
Then, set up a conditional branch and use the last option "script" to put in this code"
Then, I set up a command to make the actor equip a weapon which makes the common event looks like this:
@> Conditional Branch: Script: $game_actors[XXX].weapon_id != 0
@>Change Equipment: [Actor1], Weapon = [Sword]
@>
: Branch End
@>
When I turn ON the switch which triggers the parallel process of the common event, there comes the error.
The point I need the script is to make the actor equip the default weapon in case he wasn't holding any equipment, did I misused the script?
For the Level up script. I assign the codes to a common event that shows up a message as the actor level up, it did but all the time even when the actor didn't leveled up. Did I make any mistake again?
BTW, was the script not compatible with the SDK script? :-/