OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Judge856 on 07 Apr 2003, 06:16:55

Title: Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 06:16:55
How can I get a unit/units to start off with as many flares as I'd like? I've tried using the OPFEDITOR but it when i save it as a script and exec it, I have the option to pick flares but I have none, same with smoke nades, I'm confused  ;D :o ::)
Title: Re:Flares...ooo pretty colours...
Post by: tankieboy on 07 Apr 2003, 12:55:25
Use the addmagazine command
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 15:36:07
I've tried that, but it appears if im always 'out of flares' like none left. Thats why im confused.  :-\
Title: Re:Flares...ooo pretty colours...
Post by: Flapje on 07 Apr 2003, 15:39:58
maybe remove something like hand grenades? or when you want to shoot flares with m203 (I think you can) remove the m203 grenades

probably won't work but you never know ;)
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 15:44:40
Nope, that does'nt work either  :'(
Title: Re:Flares...ooo pretty colours...
Post by: tankieboy on 07 Apr 2003, 15:55:47
I dont understand the problem. Please expan on your question.
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 16:01:13
Right, I add all these things (flares,smokes) into an ammo crate of player. But when I try to select them as player it says im out of ammo "Red Flares 0" and when I pick them up from the ammo crate it's still the same "Red Flares 0" as if I've used them all and got none left, but I never had any to begin with.
Title: Re:Flares...ooo pretty colours...
Post by: Flapje on 07 Apr 2003, 16:03:59
please don't tell me you forgot a flaregun :toocool:
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 16:08:45
Erm...flare gun? :P :-[ Erm...where, what and how do I get a flare gun? 8)
Title: Re:Flares...ooo pretty colours...
Post by: tankieboy on 07 Apr 2003, 16:11:01
Try pressing 'R' to reload or press middle mouse button to reload
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 16:11:33
Oh right, naw, I've tried that lol  ::)
Title: Re:Flares...ooo pretty colours...
Post by: Judge856 on 07 Apr 2003, 16:18:05
If you can, could you explain game logic, or how to setup a trigger to pop a flare? I've looked at some previous posts about this, but I don't understand them
Title: Re:Flares...ooo pretty colours...
Post by: macguba on 07 Apr 2003, 17:08:28
If you still having trouble, start with an Officer (night equipment).   He has flares already.

To fire a flare, a unit need to have a grenade launcher, attached either to an AK74 or an M16.  (Or an addon weapon.)    He also needs flares, obviously.

I've answered you latest question on the other thread.

If it says Red Flare 0 then you must have them (check your gear) but they are not loaded.    So investigate the action menu at the bottom right of the screen to load one.