Home   Help Search Login Register  

Author Topic: Attach flare  (Read 1058 times)

0 Members and 1 Guest are viewing this topic.

Offline Gruntage

  • Missions Depot
  • Administrator
  • *****
  • How do I get outta this chickensh*t outfit?
Attach flare
« on: 03 Apr 2010, 17:19:56 »
Hey guys

Does any1 know how to attach a flare to the wall of a building? Ive searched several times and found a few scripts but the flare that's camcreated burns out after 15 seconds.

Any ideas would be appreciated  :)

Gruntage
"But one thing I can tell you from not just OFP but life in general:  criticism is directly proportional to quality. The more criticism a mission receives, the better the outcome" - macguba

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Attach flare
« Reply #1 on: 03 Apr 2010, 19:11:53 »
All flares burn out in designated time. Only way to "prevent" this is to modify the script you are using so it loops every time flare burns out (i.e. add time delay and loop to the script).
Code: [Select]
#loop
commands
~15
goto "loop"

Alternately you can replicate the flare effect using drop command, because from my understanding BIS created the flare effect in similar fashion.

Hope that helps,
Krieg
« Last Edit: 03 Apr 2010, 19:15:11 by Krieg »
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Attach flare
« Reply #2 on: 24 Apr 2010, 21:25:33 »
The drop command would work, but it does not emit light (it glows unto itself but will not light other objects). There are some camCreateable light sources that you can place along with the drop command.