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
Scripting Help with good idea
xiphirx Offline
Senior Member

Posts: 662
Threads: 16
Joined: Nov 2010
Reputation: 5
#6
RE: Scripting Help with good idea

Your script is a little wrong.

First, you want to have a look at callback (SetEntityPlayerLookAtCallback()) on the door you want to trigger the event.

The callback function associated with the door should activate the alexander entity you have (behind the player) and add a look at callback (SetEntityPlayerLookAtCallback()) to alexander.

The callback function associated with alexander should just simply deactivate alexander.

08-10-2011, 10:57 PM
Find


Messages In This Thread
Scripting Help with good idea - by GreyFox - 08-10-2011, 08:53 PM
RE: Scripting Help with good idea - by Khyrpa - 08-10-2011, 09:14 PM
RE: Scripting Help with good idea - by GreyFox - 08-10-2011, 10:17 PM
RE: Scripting Help with good idea - by xiphirx - 08-10-2011, 10:20 PM
RE: Scripting Help with good idea - by GreyFox - 08-10-2011, 10:50 PM
RE: Scripting Help with good idea - by xiphirx - 08-10-2011, 10:57 PM
RE: Scripting Help with good idea - by GreyFox - 08-10-2011, 11:08 PM
RE: Scripting Help with good idea - by xiphirx - 08-10-2011, 11:10 PM
RE: Scripting Help with good idea - by GreyFox - 08-10-2011, 11:42 PM
RE: Scripting Help with good idea - by xiphirx - 08-10-2011, 11:58 PM
RE: Scripting Help with good idea - by GreyFox - 08-11-2011, 12:29 AM



Users browsing this thread: 1 Guest(s)