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
Problem with Door Code
Melvin Offline
Member

Posts: 245
Threads: 38
Joined: Jun 2012
Reputation: 5
#2
RE: Problem with Door Code

I think you have the wrong Syntax.
here, use this


void OnStart()
{
AddUseItemCallback
("", "key_1", "your_door", "unlockdoor", "true for autodestroy");
}


asName - internal name
asItem - internal name of the item
asEntity - entity to be able to use the item on
asFunction - function to call
abAutoDestroy - determines whether the item is destroyed when used

[Image: 25F7U37.png]
(This post was last modified: 09-15-2012, 01:54 AM by Melvin.)
09-15-2012, 01:50 AM
Website Find


Messages In This Thread
Problem with Door Code - by Doughnut Boy - 09-15-2012, 01:26 AM
RE: Problem with Door Code - by Melvin - 09-15-2012, 01:50 AM
RE: Problem with Door Code - by Melvin - 09-15-2012, 11:59 AM



Users browsing this thread: 1 Guest(s)