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 if not looking
Homicide13 Offline
Senior Member

Posts: 323
Threads: 41
Joined: Nov 2010
Reputation: 14
#7
RE: Script if not looking

(04-27-2012, 06:13 PM)DRedshot Wrote: Just to add to this question (sorry for hijacking the thread Tongue)
Does anyone know of a way to trigger an event if an object is NOT within the players field of view?

I want a scripted event similar to an insanity vision, where the object only changes when you cannot see it.
Currently it works as soon as the cursor leaves the object, so you can see it dissappear. I've made a workaround by placing a large area over the object, but from some positions the player can still see the change, and this workaround will get ver messy for a script I want to use later in the game.

I was thinking of using a script which enabled/disables the insanity vision property of an entity, but I don't know whether such a function exists.

Thanks
FG did something like this for the grunt in the distillery level I believe (the grunt only goes through the door once the player is not looking). I would suggest looking there for an answer.



04-27-2012, 06:41 PM
Find


Messages In This Thread
Script if not looking - by Damascus - 04-26-2012, 07:09 AM
RE: Script if not looking - by Your Computer - 04-26-2012, 07:38 AM
RE: Script if not looking - by Sazureth - 04-27-2012, 06:32 PM
RE: Script if not looking - by DRedshot - 04-27-2012, 06:35 PM
RE: Script if not looking - by Damascus - 04-26-2012, 08:13 AM
RE: Script if not looking - by DRedshot - 04-27-2012, 06:13 PM
RE: Script if not looking - by Homicide13 - 04-27-2012, 06:41 PM



Users browsing this thread: 1 Guest(s)