Jump to content
Sign in to follow this  
raptorsaurus

CamCreate Lightning

Recommended Posts

I know there are scripts that make lightning using the drop command, but these do not produce any light (the surrounding "world" does not light up as with real lightning).  The default lightning in OFP is fine (it lights up the surrounding area), so I would like to use camCreate to control where it strikes.  I want to be able to camCreate it at the desired location, then inFlame true it (assuming it is in the fire class), then make thunder (I found the in game thunder sounds).  I searched the commented config and found some items called thunderboltNorm and thunderboltHeavy.  These use the models blesk1.p3d and blesk2.p3d, but <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">t = camCreate "thunderboltNorm" (getPos Player); t inflame true does nothing.  I tried "thunderboltHeavy" and "thunderbolt" as well, but nothing happens.  So is there a way to do this or am I searching in vain?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×