Could someone make me a Conditional Branch Script: If hero 001 class is 003
Please
Meh, I haven't read the post properly. What you asking for is to check if hero number 001 in the database have the class set to 003, right? If so what you want is this:
if $data_actors[1].class_id == 3
#write code here
end
Yes, sorry if it was obvious what you should do. You are supposed to write whatever you want to happen when the conditions are fulfilled. Also if you want something else to happen if the condition is not fulfilled use this:
if $data_actors[1].class_id == 3
else
end
@Tsu I think you are forgetting that the first hero is $game_party.actors[0], not 1.
Edit: Corrected the note to Tsu