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
Multiple Issues Help How to use key to unlock level door?
MissMarilynn Offline
Member

Posts: 77
Threads: 23
Joined: Oct 2011
Reputation: 1
#3
RE: How to use key to unlock level door?

(10-28-2011, 12:07 AM)Obliviator27 Wrote: You'll want to use AddUseItemCallback for the level door, as well as SetLevelDoorLocked.

For your second question, you'll want
SetEntityPlayerInteractCallback as well as SetEntityActive.
Can you give me examples? I have no idea how to set up the door one...I've tried. My door is "girlsdormfirstfloor" and the key is "masterkey".

Is this correct?



SetEntityPlayerInteractCallback("masterkey", "ScaryMonster", true);


void ScaryMonster(string &in entity)
{
What should go here???
}
10-28-2011, 12:13 AM
Find


Messages In This Thread
RE: How to use key to unlock level door? - by MissMarilynn - 10-28-2011, 12:13 AM



Users browsing this thread: 1 Guest(s)