Page 1 of 1

Level Triggers

Posted: December 23rd, 2009, 11:04 pm
by Creatorrookie
When adding level triggers to my map's cfg, is it necessary to add the " " marks at the beginning and end?


Example:

"level_trigger_1" or level_trigger_1


Sometimes I have to keep testing the triggers all day until they finally work. In one of my maps, it worked with the " " marks, I tried that in my newest map and it didn't work. I tried it without the " " marks and it seemed to work. How do I know which one to use?

Re: Level Triggers

Posted: December 23rd, 2009, 11:11 pm
by Mike
Should be okay without. Here is my example from the FAQ:

Code: Select all

  level_trigger_1 = [showgui Princess-Robochimp]
  newgui Princess-Robochimp [
  guitext "Thank you for saving me!" chat
  guitext "You're my hero!" chat
  ]
Let us know if you have any more trouble. Take care!
-mike

Re: Level Triggers

Posted: December 24th, 2009, 11:53 am
by Creatorrookie
Ok, thanks!