vinc3nt 10 Posted August 21, 2010 (edited) Is this possible? I could not find a scripting command in the wiki. :( I have unwanted results when trying to use the 'ammo' command (check whether a unit's ammo has changed, thus assuming it has fired it if there is a difference) Thanks in advance Edited August 21, 2010 by vinc3nt Share this post Link to post Share on other sites
f2k sel 164 Posted August 22, 2010 (edited) The command to look for is called addEventHandler which has various options that have been covered many times in great detail. Try doing a search in the scripting section as there are many post there this section is more for addons. http://forums.bistudio.com/forumdisplay.php?f=93 and this post will get you started http://forums.bistudio.com/showthread.php?t=100564&highlight=addeventhandler Edited August 22, 2010 by F2k Sel Share this post Link to post Share on other sites
vinc3nt 10 Posted August 22, 2010 The command to look for is called addEventHandler which has various options that have been covered many times in great detail.Try doing a search in the scripting section as there are many post there this section is more for addons. http://forums.bistudio.com/forumdisplay.php?f=93 and this post will get you started http://forums.bistudio.com/showthread.php?t=100564&highlight=addeventhandler Thanks :); I looked a bit about the event handlers in the wiki but I didn't understand them. This link explains it better. Share this post Link to post Share on other sites