OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Siber Fox on 06 Sep 2002, 02:40:56
-
Whew.. I got scared for a sec. no one told me the fourms moved! ;D
anyway, on with the questions.
How would one make men arm themselves with weapons from an ammo source?
-
hmmm, i believe, that it is quite simple, in a script, or w/e, you simply put:
aP action["STR_ACTION_TAKEWEAPON","M16"]
and he will take an M16 - however I may have the syntax wrong slightly so also try:
aP action["M16","STR_ACTION_TAKEWEAPON"]
and there you have it. Simple, fast, fun, and effective ;)
-
I think the synthax is:
nameofunit action ["Takeweapon",M16]
and
nameofunit action ["Takemagazine",M16]
Greetz
Plage