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
How to make the Flashlight\Lantern FLICKER?[SOLVED] Thanks Fatalist.
Fatalist Offline
Member

Posts: 122
Threads: 8
Joined: Dec 2012
Reputation: 8
#21
RE: How to make the Flashlight\Lantern FLICKER?

(09-20-2014, 11:56 AM)DnALANGE Wrote: This won;t work!
GIve us a small video then please..
From start to end..
From Modeleditor -> ingame test..
Everyone says it is NOT possible, even Patrik PM's it to me..
Playerhands... wher do you get that name from?
I have the flashlight, so is that the same name then?
AND how does that function now how to flicker AND how fast to flicker??
Then we must turn 1 spotlight OFF and ACTIVATE the flicker one isn't it??
Your function dons't have a how fast flicker function...

It work in my mod)
Ok, I'm try to explain.

1. Setup your flashlight, like this:
Spoiler below!

[Image: Jn5Rsi.jpg]

2. Write the code. For example,
void flashlight_flicker(string &in asEntity)
{
SetLightFlickerActive("PlayerHands_SpotLight_3", true);
}
3. Test in game.
https://www.dropbox.com/s/wve4281e8x8h7x...r.avi?dl=0

09-20-2014, 02:14 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#22
RE: How to make the Flashlight\Lantern FLICKER?

If this works i go crazy.
if i cNt get it to work i will ask again.
thanks for this explanation, i will try tomorrow.
tnx.
back tomorrow when tested.
09-20-2014, 06:27 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#23
RE: How to make the Flashlight\Lantern FLICKER?

+ REP
It works amazing!!
Thanks Fatalist!
Just too bad we can not add more spotlights for slower and faster flickering is it...
I will try in a later stage.
THANKS MAN!
09-21-2014, 01:28 PM
Find
Fatalist Offline
Member

Posts: 122
Threads: 8
Joined: Dec 2012
Reputation: 8
#24
RE: How to make the Flashlight\Lantern FLICKER?[SOLVED] Thanks Fatalist.

(09-21-2014, 01:28 PM)DnALANGE Wrote: + REP
It works amazing!!
Thanks Fatalist!
Just too bad we can not add more spotlights for slower and faster flickering is it...
I will try in a later stage.
THANKS MAN!

You are welcome! Smile
Heh, We can add more spotlights) Make it radius = 0, turn on via "FadeLightTo" and use Flicker function.

09-21-2014, 04:39 PM
Find




Users browsing this thread: 1 Guest(s)