OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jeromez on 18 Feb 2003, 15:07:25
-
Is it possible to make an AI fire a flare?
I have a MP DM map in total darkness.
And I want an "autoflare" every 5 or 10 min
Does anyone have a sollution for this?
thanks in advance 8)
-
You could camcreate flares.
Alternatively
loon1 fire "flarered"
or
flaregreen
flareyellow
flare
make sure he has a grenade launcher and the right ammo.
-
will try, tnx a lot 8)
-
Here ya go :)
just download this map and merge it with the one you want, place the invisible "H" where u want him to fire the flares --thats all. done.
Be sure to copy and paste the flare.sqs into your new map mission folder.
The AI will fire a flare at the H randomly between 5 and 10 mins apart --the flares will be a random colour.
-
Or you can use the ImprovedAI script. Very good script.....
-
Actually thats where I got the snippet from :)
I have just modified it to suit his needs , yes Bremmers improved AI script is brilliant ;D
-
aCarrier fire ["M203Muzzle","flare", "flare"]