i am not sure where the issue is,
but the script is related to gameparty member 0 , which is always the leader..
you could also relate it to the actor id itself..
- that would be :
("1" is the actor id from your database)
Or you could try "Game_Party.prototype.leader" which would be:
but that will return the same as "$gameParty.members()[0]"
..
and dataweapons 2 means the weapon which has the id 2 in your data base..
(incase thats not the weapon you want to use in that condition, you might need to change the number)
also you can find a list of what i used in the hudmaker, in my signature spoiler..
(ill edit it into this post aswell)
Spoiler: hudmaker scripts
Actor current HP:
Actor Max HP:
Actor current MP:
Actor Max MP:
Actor current TP:
Actor current LV:
Code:
$gameActors.actor(1).level
Actor Name:
Code:
$gameActors.actor(1).name()
Actor Total current EXP:
Code:
$gameActors.actor(1).currentExp()
Actor current LV EXP:
Code:
Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())
Actor Max EXP of current LV:
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())
Actor EXP to Next LV (=> Actor Max EXP of current LV - Actor current LV EXP):
Code:
Math.abs($gameActors.actor(1).nextRequiredExp()) + Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp()) - Math.abs($gameActors.actor(1).expForLevel($gameActors.actor(1).level) - $gameActors.actor(1).currentExp())
Needed in Text HUD in order to use script code where X is:
Script code to put in "Condition" :
For switches:
Code:
$gameSwitches.value(x) == true
For variables:
Code:
$gameVariables.value(x) == n
Script code for Variable (this one is Variable "50" )
edit.
reminder
your script doesnt ask for the weapon type, which would also be possible with a different script,
it is asking for the weapon id