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 for after you read something?
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#3
RE: Script for after you read something?

This function is also needed.

PHP Code: (Select All)
void SetEntityCallbackFunc(stringasNamestringasCallback); 

Spoiler below!
Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity, string &in type)
Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc

Use in "void OnStart()" or "void OnEnter"

This page is very useful, ya know.
04-26-2014, 11:32 PM
Find


Messages In This Thread
RE: Script for after you read something? - by Slanderous - 04-26-2014, 11:32 PM



Users browsing this thread: 1 Guest(s)