bad biscut Posted February 16, 2010 Share Posted February 16, 2010 It is a simple showmessage script activated by a trigger but whenever I walk into the trigger the message plays again. How do I get it to only show once? Link to comment Share on other sites More sharing options...
Cipscis Posted February 16, 2010 Share Posted February 16, 2010 Add a variable to store whether or not the message has been shown, and use a conditional statement to prevent it from being shown again:int bDoOnce Begin OnTriggerEnter player if bDoOnce == 0 set bDoOnce to 1 ShowMessage MyMessage endif EndCipscis Link to comment Share on other sites More sharing options...
Recommended Posts