tagigan Posted March 6, 2007 Share Posted March 6, 2007 What I want to do:I have 4 of those red XMarkers from the CS on the roof of a house and I would like them to blink on and off if possible.You can see them in the game if you change the IDName. No collision, No havok. The reason:FourX is the major brand of beer sold in Queensland Australia. Their symbol is four red x's. Below is a script for the 4x's.Is it possible to put some type of delay between each state.eg: set state to 4 (2 sec pause) if state == 4 scn antXXXXScript short stateshort button Begin OnActivate set state to 1 if ( state == 0 ) returnendif if ( state == 1 ) MessageBox "Turn On - Off 4 X sign?","Yes","No" set state to 2endifEnd Begin GameMode if ( state == 2 ) set button to GetButtonPressed if ( button == 0 ) set state to 3elseif ( button == 1 ) set state to 0endifendif if ( state == 3 ) xref1.disable xref2.disable xref3.disable xref4.disable set state to 4endif if ( state == 4 ) xref1.enable xref2.enable xref3.enable xref4.enable set state to 3endif End Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.