OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Matthijs on 22 Aug 2002, 14:55:30

Title: How can I check what killed an object/person?
Post by: Matthijs on 22 Aug 2002, 14:55:30
Let me rephrase that...
Is there a method anyway?

What I really want to know is what weapon killed the object. But then again, if I know who did it, it's just a matter of checking what weapon is armed. (?)

One other thing: is there a way of telling where a person was hit? (Legs, torso etc)
Title: Re:How can I check what killed an object/person?
Post by: mikeb on 22 Aug 2002, 14:58:37
Don't know about the first part but for the second one there are the handshit and canstand commands conditions.  If he is hurt and neither of these is true then he's obviously been hit in the torso, or it skimmed his head and he was v.lucky!!!
Title: Re:How can I check what killed an object/person?
Post by: Matthijs on 22 Aug 2002, 15:53:28
Of course! Why didn't I think of that?

Thanks!

(http://www.tacnet.org/forum/ikonboard/non-cgi/emoticons/mgdsmile.gif)
Title: Re:How can I check what killed an object/person?
Post by: mikeb on 22 Aug 2002, 15:56:56
Just noticed how the content check changed the command "handshit".  That's quite amusing as I never noticed how that could be read incorrectly!

(laughs)

...and you're welcome
Title: Re:How can I check what killed an object/person?
Post by: Wolfrug on 22 Aug 2002, 22:28:19


[attachment deleted by admin]
Title: Re:How can I check what killed an object/person?
Post by: Matthijs on 22 Aug 2002, 23:19:35
Problem tackled.

Thank you.