OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: marcus3 on 18 Mar 2005, 14:34:12

Title: can you do this?
Post by: marcus3 on 18 Mar 2005, 14:34:12
I need it where when you have a gun and walk up to some one they say something.
But when you walk up to them with a gun they say something different. But I don't want to right all the guns one by one so can I use a array like this
When you walk up to guy script runs and I the script there is this

Stuff he wood say if you did not have gun.

@ (Man hasweapon guns)

Man sidechat "don't shoot"



And in the init script there is this.

Guns = "gun" and "gun" and "gun" and "gun"

gun is like "ak47" (but I am lazy to Wright all the gun names in there)

So when I do this it don't work.
 why not can you help?

thanks

Title: Re:can you do this?
Post by: macguba on 18 Mar 2005, 14:45:25
Looks like an accidental double post.

All replies here (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=22681) please.
Title: Re:can you do this?
Post by: Sui on 19 Mar 2005, 23:48:52
Indeed. Oops :)

# Topic Locked