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 Interact with door script
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Interact with door script

The callback syntax for SetEntityPlayerInteractCallback is
PHP Code: (Select All)
void MyFunc(string &in asEntity

The int alState does not belong there.

Also, when using PlaySoundAtEntity, I recommend using a ScriptArea because they're more reliable.

07-21-2014, 09:20 PM
Find


Messages In This Thread
Interact with door script - by goodcap - 07-21-2014, 08:39 PM
RE: Interact with door script - by goodcap - 07-21-2014, 08:52 PM
RE: Interact with door script - by goodcap - 07-21-2014, 09:11 PM
RE: Interact with door script - by Mudbill - 07-21-2014, 09:20 PM
RE: Interact with door script - by goodcap - 07-21-2014, 09:23 PM
RE: Interact with door script - by Mudbill - 07-21-2014, 09:50 PM
RE: Interact with door script - by Nice - 07-21-2014, 11:22 PM
RE: Interact with door script - by Radical Batz - 07-22-2014, 11:12 AM



Users browsing this thread: 1 Guest(s)