how to make place lighted with flares at night always.

OFP editing, missions, modeling, textures, configs, but not islands

Moderators: Snake Man, Lone Wolf

Post Reply
Tiket
Recruit
Posts: 12
Joined: 2009-06-15 05:03:01
Gaming Interests: Operation Flashpoint (OFP)
Editing Interests: Missions
Location: India

how to make place lighted with flares at night always.

Post by Tiket » 2010-05-20 02:48:10

i am keen to learn this.

Snake Man
Commander-In-Chief
Posts: 8603
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC
Contact:

Re: how to make place lighted with flares at night always.

Post by Snake Man » 2010-05-21 01:27:33

I have script like this:

Code: Select all

#start

if (!alive grenados) then { exit; };

grenados fire ["m203muzzle","flare","flare"];

grenados addmagazine "flare";
~15 + random 2

goto "start";
The unit name is "grenados" who needs the M203 grenade launcher. With that script he should be firing flares constantly.

Then you can of course artificially create the flares without soldier firing them. I don't have script for that at hand now, but its done by using createVehicle (or was it camCreate in OFP heh).
PMC since 1984

Editing knowledge, visit PMC Editing Wiki
Addon manuals, visit PMC addons/mods online manuals
View our videos in PMC Youtube channel.

PMC Tactical forum Advanced Search is power.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest