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
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#2
RE: Scripting Help with good idea

Sure is possible! I'm not gonna give full script, but just some functions what to use.

Just use AddEntityCollideCallback to start the event when the player is past the point where alexander spawns spawning alexander behind him. Then just use SetEntityPlayerLookAtCallback to check when player looks behind him (I suggest using an area) and use a timer to time the fade out of alexander.

I'm not sure if you can use SetPropActiveAndFade to fade him out smoothly or should you just use some particle effects.

(This post was last modified: 08-10-2011, 09:14 PM by Khyrpa.)
08-10-2011, 09:14 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: 2 Guest(s)