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


Messages In This Thread
RE: How to make the Flashlight\Lantern FLICKER? - by Fatalist - 09-20-2014, 02:14 PM



Users browsing this thread: 2 Guest(s)