Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
if statement isn't working
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#2
RE: if statement isn't working

Try using
SetGlobalVarInt("SwitchBack", 1);
instead.

EDIT:

NVM, you need to put the if statement in the OnEnter() Function instead, OnStart is only used the first time the level is started.

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
(This post was last modified: 10-05-2014, 06:25 PM by Wapez.)
10-05-2014, 06:24 PM
Find


Messages In This Thread
if statement isn't working - by Spazatron - 10-05-2014, 06:18 PM
RE: if statement isn't working - by Wapez - 10-05-2014, 06:24 PM
RE: if statement isn't working - by Spazatron - 10-05-2014, 07:18 PM



Users browsing this thread: 4 Guest(s)