Jump to content
Sign in to follow this  
satexas69

Destruct - then name?

Recommended Posts

Is there any way to say blow up something (building, car, whatever), and then somehow do a "hint" to say who blew it up it? Using name in the "description" field?

IE:  hint "%player killed the car"

Share this post


Link to post
Share on other sites
Guest

Use an eventhandler. And in this case you want to use eventhandler "Killed".

Check this:

http://community.bistudio.com/wiki/ArmA:_Event_Handlers

This will give you the chance to get the shooter/killer and communicate that info in your script to all players.

Here you can find a nice eventhandler tutorial:

http://www.ofpec.com/ed_depot/tutes.php

(check scripting tutorials eventhandlers by Igor Drukov)

Hope this helps.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×