Help me! Flag(2) broke my level!

Started by Pyrite, November 19, 2012, 08:05:44 PM

Previous topic - Next topic

Pyrite

Someone help me! Fix this thing I worked so hard on! Also there is supposed to be a keycard in the last room with nothing in it yet because the map crashed before, but yeah someone help!

Dav999

Ok, what was 'flag(1)' supposed to do? And you used colons (:), it glitches the scripts.

ToasterApocalypse

Quote from: Dav999 on November 19, 2012, 08:52:50 PM
Ok, what was 'flag(1)' supposed to do? And you used colons (:), it glitches the scripts.

IT HAPPENED TO ME ONCE  :victoria:

avengah

Quickfix uploaded.

Basically I opened it in Wordpad, got rid of the excess rubbish caused by putting colons in, and fixed your script that opens the gate. The problem is that the destroy(gravitylines) command was in the wrong script - it was in the broken script caused by using colons, and thus was never executed. Hope that helps.

Pyrite

Thanks, I realized this after I read an old thread about scripting... PJ made no mention of colons in his level. Also, flag(1) is to keep Viridian from saying "Where am I?" and instead makes him say "How did I get back here?"

Dav999

Quote from: eggs benedict w/ hollandaise sauce on November 20, 2012, 11:17:37 AM
Thanks, I realized this after I read an old thread about scripting... PJ made no mention of colons in his level. Also, flag(1) is to keep Viridian from saying "Where am I?" and instead makes him say "How did I get back here?"

I meant that there's a command 'flag(1)' in the scripts. It should be 'flag(1,on)', 'flag(1,off)' or 'ifflag(1,script)'. Just 'flag(1)' doesn't work.