Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Is this possible/

11 years ago
Is it possible to do something like this?
IF %SCORE = 1000 & %HEALTH < 1 THEN
$DEST := @ P140
ELSE
$DEST := @ P141

Is this possible

11 years ago

  I think that you have to change & to AND and it could be possible, I guess...

Is this possible/

11 years ago

If using AND doesn't work do this(My skills are rusty, so it may have some error):

IF %SCORE = 1000 THEN BEGIN

IF %HEALTH < 1 THEN BEGIN

$DEST := @ P140 

END

ELSE 
$DEST := @ P141

 

END