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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script help for level door
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#2
RE: Script help for level door

Put
AddUseItemCallback("", "level_4_key", "level4", "UsedKeyOnDoor", true);
in your OnStart function.

Like this:
PHP Code: (Select All)
void OnStart()
{
    
AddUseItemCallback("""level_4_key""level4""UsedKeyOnDoor"true);


In Ruins [WIP]
(This post was last modified: 02-10-2013, 02:32 AM by NaxEla.)
02-10-2013, 02:31 AM
Find


Messages In This Thread
Script help for level door - by afroduckie - 02-10-2013, 02:21 AM
RE: Script help for level door - by NaxEla - 02-10-2013, 02:31 AM
RE: Script help for level door - by No Author - 02-10-2013, 02:39 AM
RE: Script help for level door - by NaxEla - 02-10-2013, 02:43 AM
RE: Script help for level door - by No Author - 02-10-2013, 02:56 AM
RE: Script help for level door - by afroduckie - 02-10-2013, 03:00 AM



Users browsing this thread: 1 Guest(s)