Lucasistheman Posted February 11, 2010 Share Posted February 11, 2010 Hey guys, I was wondering if anyone coudl tell me a problem with this script I made. It seems fine to me but the Construction Set won't let me use it or save it. Anyone help me out? :thanks: The Script: (It has a name but am not showing yet, to hide spoilers) short button Begin OnActivate if { IsActionRef player == 1 } && { GetStage FS1 30 } Messagebox "This door is what stands between you and destiny. You should prepare before you fly into the unknown. Are you ready?" "Yes" "No" endifend Begin GameMode set button to GetButtonPressed if ( button == 0 ) Messagebox " Get ready quickly then." endif elseif if ( button == 1 ) Messagebox "Prepare for fame, glory and adventure. Welcome to my mod: FINAL SPIES!" endifend Link to comment Share on other sites More sharing options...
LFact Posted February 11, 2010 Share Posted February 11, 2010 It's not if~endif,elseif~endif. Even for other languges, I don't think such is allowed.Usually if~endif should be:if ............ (Blahblah) elseif .............. (Blahblah) endif Link to comment Share on other sites More sharing options...
Recommended Posts