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 Scripting Player reaction
goodcap Offline
Member

Posts: 193
Threads: 112
Joined: Jun 2012
Reputation: 3
#2
RE: Scripting Player reaction

void OnStart()
{
SetEntityPlayerInteractCallback("", "FUNC", true);
}

void FUNC(string &in asEntity)
{
SetEntityActive("NAMEOFBODY", true);

*put the screen shaking script here*
}


Go to the note you've placed. Press the Entity tab>PlayerInteractCallback.
and write FUNC (or whatever you've replaced FUNC with)
05-23-2016, 10:08 PM
Find


Messages In This Thread
Scripting Player reaction - by 3gamers - 05-23-2016, 09:06 PM
RE: Scripting Player reaction - by goodcap - 05-23-2016, 10:08 PM
RE: Scripting Player reaction - by Romulator - 05-23-2016, 10:10 PM
RE: Scripting Player reaction - by Darkfire - 05-24-2016, 03:11 PM



Users browsing this thread: 1 Guest(s)