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
Model Editor Help Custom Lantern Problem
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#6
RE: Custom Lantern Problem

(11-06-2013, 09:03 PM)DnALANGE Wrote: and NOW i have another question :
HOW can we make the lanter \ flashlight flicker if an enemy is nearby?
THIS function doesn't do anything to me : SetLightFlickerActive("Lantern", false);
Tis whole function doesn't work,...

i'm not really into the scripting thing but i know a bit more than the basics i think. So my guess would be that you create a function along these lines

void SetEntityPlayerLookAtCallback(player_enemysight, SetLightFlickerActive, false)

and then you just have to set up an IF statement to combine those. But i'm really too lazy now to actually think of that :<. I'm going to tinker with that when i'm done with everything else i'm working on Tongue

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 11-06-2013, 10:00 PM by RaideX.)
11-06-2013, 10:00 PM
Find


Messages In This Thread
Custom Lantern Problem - by RaideX - 11-02-2013, 09:39 PM
RE: Custom Lantern Problem - by Plazmater - 11-06-2013, 03:51 PM
RE: Custom Lantern Problem - by RaideX - 11-06-2013, 03:55 PM
RE: Custom Lantern Problem - by DnALANGE - 11-06-2013, 09:03 PM
RE: Custom Lantern Problem - by Plazmater - 11-06-2013, 09:47 PM
RE: Custom Lantern Problem - by RaideX - 11-06-2013, 10:00 PM
RE: Custom Lantern Problem - by DnALANGE - 11-07-2013, 12:23 AM
RE: Custom Lantern Problem - by RaideX - 11-07-2013, 05:08 PM
RE: Custom Lantern Problem - by DnALANGE - 11-07-2013, 09:03 PM
RE: Custom Lantern Problem - by RaideX - 11-08-2013, 01:47 PM



Users browsing this thread: 1 Guest(s)