OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: S.T.O.S on 17 Jan 2005, 20:56:48
-
Hey guyes, back again.
just wanted to know why the commandlines Removeallweapons
and Magazines dosent work.
i followed a torturiel. but it woant work when i punch it in. is it because it was alterd in res. Version 1.91
Any help would nice
;D
-
what syntax are you using?
you know the correct syntax is:
removeallweapons this
not
this removeallweapons
is that what you were doing?
-
Yeah that pretty much makes sence now
thx.
:-\ :-X
-
They work for me. I have v1.96.
removeAllWeapons this in a units init field, or
removeAllWeapons unitname in a script work fine.
I have never used
unit removeMagazine weaponName
because I have never needed to remove only one magazine
but I have used
unit removeMagazines weaponName
to remove all the pipebombs from a Black Op
this removeMagazines "pipebomb"
and that works as well.
Are you getting any error messages?
-
Duh!
You guys had a conversation while I was writing
-
lol, your just too slow nowadays THobson ;D
-
Lol looks like it. Must be my age. I did write quite a bit though.