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 Leveldoor Problem
Togglevolt Offline
Junior Member

Posts: 10
Threads: 2
Joined: Nov 2011
Reputation: 0
#11
RE: Leveldoor Problem

Works perfectly now! Smile Thanks alot man! I changed it all to:



void CheckLantern(string &in asEntity)
{
SetLevelDoorLocked("level_wood_1", false);
}


void OnEnter()
{

SetEntityPlayerInteractCallback("lantern_1", "CheckLantern", true);
}

And placed "CheckLantern" into the InteractCallback tab of the Lantern.
Now it works just as wanted. Thanks
11-14-2011, 04:23 PM
Find




Users browsing this thread: 1 Guest(s)