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
Beginning Scripting, Requesting a [More thorough] Tutorial
jens Offline
Frictional Games

Posts: 4,093
Threads: 199
Joined: Apr 2006
Reputation: 202
#4
RE: Beginning Scripting, Requesting a [More thorough] Tutorial

None, this script is written so it does not use the level editor.

void InteractedWithDoor(string &in entity) is triggered by the line SetEntityPlayerInteractCallback("mansion_1", "InteractedWithDoor", true);

but

You can remove the line SetEntityPlayerInteractCallback("mansion_1", "InteractedWithDoor", true);

and then select the mansion_1 door in the editor, go to the entity tab, and there is an input named SetInteractCallback (or something like that) in which you would enter InteractedWithDoor to accomplish the same thing as the script line you removed.
09-22-2010, 05:08 AM
Website Find


Messages In This Thread
RE: Beginning Scripting, Requesting a [More thorough] Tutorial - by jens - 09-22-2010, 05:08 AM



Users browsing this thread: 1 Guest(s)