OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: O Neil on 06 Oct 2002, 03:57:25

Title: Soldiers with different weapons.
Post by: O Neil on 06 Oct 2002, 03:57:25
Pretty straight forward. I want soldiers with sniper rifels etc.

How ??? ?

Thxs
Title: Re:Soldiers with different weapons.
Post by: LCD on 06 Oct 2002, 04:07:01
put da next commands in da init of da soldier

Code: [Select]
removeallweapons this; this addmagazine "m21"; this addmagazine "m21"; this addmagazine "m21"; this addmagazine "m21"; This addweapon "m21"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade";
this will give da soldier 4 m21 mags a m21 nd 6 grenades

LCD OUT

P.S i recomend u D/L da unofficial command referance (from da TUT section) nd da official command referance (from da official site) nd search da ED depot b4 askin in da forums  ;))  ;D
Title: Re:Soldiers with different weapons.
Post by: macguba on 06 Oct 2002, 14:58:47
Hot news:  the OFFICIAL command ref guide is now available in the Editors Depot.

Look under "Tutorials" and click on "References"    ;)