OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 24Gamer on 02 Jun 2004, 02:16:02

Title: Ammo Crates
Post by: 24Gamer on 02 Jun 2004, 02:16:02
I made a script to put weapons into an ammo box, it seems to work when i test in editor but when i test it online, it doesn't work properly.

an example is an AALauncher and ammo, i can pick up the launcher but it has no ammo and there seems to be no ammo im crate, yet again this works in editor so i can't see what the problem is.
another example is a LAW:
i can pick it up but it has no ammo and i can only pickup one LAW at a time but in editor i pick it up with full ammo and i can exchange Mags. for LAW's :-/
Title: Re:Ammo Crates
Post by: Artak on 02 Jun 2004, 07:27:27
Can you show us the script and tell us how you execute it?
Title: Re:Ammo Crates
Post by: 24Gamer on 02 Jun 2004, 23:33:49
i think i know what the problem is now, if you are a sniper you can't pick up much, whereas when i was testing it i was a normal soldier.
Title: Re:Ammo Crates
Post by: Artak on 03 Jun 2004, 10:30:17
Ah yes, that'll do it.  ;D