Hi!
Me again doing weird questions 😔
Many times in my game I need to check for any long conditions, I use events for this, something like...
I would like to do something like a function to get a single boolean value like this:
Where "canJump()" is a function to eval everything and return a single true/false.
How can I do something like this?
Me again doing weird questions 😔
Many times in my game I need to check for any long conditions, I use events for this, something like...
Code:
if(Harold is in the party)
if(Harold can act)
if(Harold MP>8)
if(Harold job is hunter)
route movement
through: ON
speed: 6
transparent: ON
Jump: +0 +5
through: OFF
speed: 4
transparent: OFF
if(Harold job is assassin)
route movement
through: ON
speed: 6
transparent: ON
Jump: +0 +5
through: OFF
speed: 4
transparent: OFF
if(Chris is in the party)
if(Chris can act)
if(Chris MP>8)
if(Chris job is hunter)
route movement
through: ON
speed: 6
transparent: ON
Jump: +0 +5
through: OFF
speed: 4
transparent: OFF
if(Chris job is assassin)
route movement
through: ON
speed: 6
transparent: ON
Jump: +0 +5
through: OFF
speed: 4
transparent: OFF
I would like to do something like a function to get a single boolean value like this:
Code:
if(canJump())
route movement
through: ON
speed: 6
transparent: ON
Jump: +0 +5
through: OFF
speed: 4
transparent: OFF
Where "canJump()" is a function to eval everything and return a single true/false.
How can I do something like this?