Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved Script if not looking
Author Message
DRedshot Offline
Senior Member

Posts: 373
Joined: Jun 2011
Reputation: 11
Post: #4
RE: Script if not looking
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

04-27-2012 06:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)