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
Changing a level door
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#5
RE: Changing a level door

Do what sonataarctica said and put a script area around the door. Then click on the script area, go to the Area tab, and write your callback where it says "PlayerInteractCallback". Then add that function to your script.

For example, if I wrote "DoStuff" for the callback, I would add this to my script:
PHP Code: (Select All)
void DoStuff(string &in asEntity)
{
    
// do stuff here


In Ruins [WIP]
(This post was last modified: 03-10-2013, 06:24 AM by NaxEla.)
03-10-2013, 06:23 AM
Find


Messages In This Thread
Changing a level door - by tonitoni1998 - 03-09-2013, 11:39 PM
RE: Changing a level door - by WALP - 03-10-2013, 12:00 AM
RE: Changing a level door - by ExpectedIdentifier - 03-10-2013, 12:46 AM
RE: Changing a level door - by PutraenusAlivius - 03-10-2013, 02:16 AM
RE: Changing a level door - by NaxEla - 03-10-2013, 06:23 AM
RE: Changing a level door - by tonitoni1998 - 03-10-2013, 11:51 AM
RE: Changing a level door - by Unearthlybrutal - 03-10-2013, 11:57 AM
RE: Changing a level door - by No Author - 03-10-2013, 11:57 AM



Users browsing this thread: 2 Guest(s)