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
Script Help SetGlobalVarInt not working
Darkfire Offline
Senior Member

Posts: 371
Threads: 22
Joined: May 2014
Reputation: 15
#2
RE: SetGlobalVarInt not working

I think I tried putting a fuction link once too, and it didn't work. (I mean this: OnStart{CheckDRDoor;} )

So I would simply put this
PHP Code: (Select All)
if(GetLocalVarInt("DRDoor") == 1)
{
SetLevelDoorLocked("level_wood_2"false);

In OnEnter, like this:
PHP Code: (Select All)
void OnEnter
{

  if(
GetLocalVarInt("DRDoor") == 1)
  {
    
SetLevelDoorLocked("level_wood_2"false);
  }


Everything else should be fine, but be sure to tell if it doesn't work.

(This post was last modified: 07-03-2016, 10:52 PM by Darkfire.)
07-03-2016, 10:50 PM
Find


Messages In This Thread
SetGlobalVarInt not working - by serbusfish - 07-03-2016, 09:59 PM
RE: SetGlobalVarInt not working - by Darkfire - 07-03-2016, 10:50 PM
RE: SetGlobalVarInt not working - by serbusfish - 07-04-2016, 01:12 AM
RE: SetGlobalVarInt not working - by Lizard - 07-04-2016, 11:04 AM
RE: SetGlobalVarInt not working - by serbusfish - 07-04-2016, 01:55 PM
RE: SetGlobalVarInt not working - by Romulator - 07-04-2016, 02:00 PM
RE: SetGlobalVarInt not working - by serbusfish - 07-05-2016, 08:35 PM
RE: SetGlobalVarInt not working - by Darkfire - 07-04-2016, 04:30 PM
RE: SetGlobalVarInt not working - by Daemian - 07-06-2016, 01:59 AM
RE: SetGlobalVarInt not working - by Mudbill - 07-06-2016, 02:27 AM



Users browsing this thread: 3 Guest(s)