Pages: 1
Topic closed
i am trying to make a simple rpg using this engine but for some reason i cant seem to find a script that does what i need. i need something like: if enemy 1 health = 0 sprite 2 go to x 107 y 126, set enemy 2 heal to 25 sprite 8 go to x 163 y -54, set health to 25 set magic to 120 set level to 2.
Offline
darkfuji wrote:
i am trying to make a simple rpg using this engine but for some reason i cant seem to find a script that does what i need. i need something like: if enemy 1 health = 0 sprite 2 go to x 107 y 126, set enemy 2 heal to 25 sprite 8 go to x 163 y -54, set health to 25 set magic to 120 set level to 2.
sorry it is health not heal.
Offline
when gf clicked forever if <(enemy 1 health) < [1]> broadcast [move1 v] and wait set [enemy 2 health v] to [25] broadcast [move2 v] and wait set [health v] to [25] set [magic v] to [120] set [level v] to [2] endPut this script below on sprite 2
when I receive [move1 v] go to x:[107] y:[126] stop scriptPut this script below on sprite 8
when I receive [move2 v] go to x:[163] y:[-54] stop script
Offline
Wes64 wrote:
when gf clicked forever if <(enemy 1 health) < [1]> broadcast [move1 v] and wait set [enemy 2 health v] to [25] broadcast [move2 v] and wait set [health v] to [25] set [magic v] to [120] set [level v] to [2] endPut this script below on sprite 2when I receive [move1 v] go to x:[107] y:[126] stop scriptPut this script below on sprite 8when I receive [move2 v] go to x:[163] y:[-54] stop script
thanks
Offline
Topic closed
Pages: 1