BilinmeyenBey Posted March 27 Share Posted March 27 My CLEO script just not compile(ing). I checked the script like 3 times. Never saw a problem with the logical operator. Can anybody help me? And here is the full script: {$CLEO .cs} 0000: NOP :Noname_47 wait 0 if Player.Defined($PLAYER_CHAR) else_jump @Noname_47 :DIDANYPICKEDUP wait 0 if or Pickup.Picked_up($CUSTOMPRIZE_PICKUP1) Pickup.Picked_up($CUSTOMPRIZE_PICKUP2) Pickup.Picked_up($CUSTOMPRIZE_PICKUP3) Pickup.Picked_up($CUSTOMPRIZE_PICKUP4) Pickup.Picked_up($CUSTOMPRIZE_PICKUP5) Pickup.Picked_up($CUSTOMPRIZE_PICKUP6) Pickup.Picked_up($CUSTOMPRIZE_PICKUP7) Pickup.Picked_up($CUSTOMPRIZE_PICKUP8) Pickup.Picked_up($CUSTOMPRIZE_PICKUP9) Pickup.Picked_up($CUSTOMPRIZE_PICKUP10) Pickup.Picked_up($CUSTOMPRIZE_PICKUP11) Pickup.Picked_up($CUSTOMPRIZE_PICKUP12) Pickup.Picked_up($CUSTOMPRIZE_PICKUP13) Pickup.Picked_up($CUSTOMPRIZE_PICKUP14) Pickup.Picked_up($CUSTOMPRIZE_PICKUP15) then $CUSTOMCOL_COLLECTED += 1 else jump @Noname_47 end :ALLSTUFFCOLLECTEDPRIZETIME wait 0 if $CUSTOMCOL_COLLECTED == 15 jf @DIDANYPICKEDUP Car.Create($CUSTOMPRIZE_CAR1, #BANSHEE, 893.6999, -1222.2673, 16.9766) 02AC: set_car $CUSTOMPRIZE_CAR1 immunities BP 1 FP 0 EP 0 CP 0 MP 0 Car.Create($CUSTOMPRIZE_CAR1, #ELEGY, 892.3771, -1239.6854, 16.1722) 02AC: set_car $CUSTOMPRIZE_CAR1 immunities BP 1 FP 0 EP 1 CP 1 MP 0 (Also I tried to change jf to then and else, see if that works. I did not) Link to comment Share on other sites More sharing options...
cjfan_ Posted March 27 Share Posted March 27 From the Sanny Builder documentation: Quote A single IF statement can contain up to 8 conditions. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now