Help - Search - Members - Calendar
Full Version: XP - conditional script containing actors SP
RPG RPG Revolution Forums > Scripting > Event Emporium
Real Ninjason
Good evening, it's me again.

Im experimenting with the conditional Branches Script-function and am currently searching for the correct way to tell the Maker to do a specific action IF the Sp of actor #026 is above 1.000.

What would be the correct sentence?

Something like "$game_party.actor_sp(26) > 1000" or similar I think.

Thanks in advance.
stripe103
Okay. I'm no experienced scripter, but I think that you should use [ and ] instead of ( and ). The rest looks fine to me.
Real Ninjason
Hmm. that doesn't seem to work - I still get the error message... But thank you for the idea.
Kread-EX
Taking your example, it would be $game_actors[26].sp > 1000.
Real Ninjason
That worked, Kread-EX.

Thank you, RPG Revolution and both stripe103 and Kread-EX in particular, for your assistance once again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.