kaiowa 10 Posted September 24, 2009 hi all and sorry for my english I want to know how can i return to a variable the type and rank of a soldier that the player killed.Its possible? thanks Share this post Link to post Share on other sites
nuxil 2 Posted September 24, 2009 add eventhandler to the soldier(s) you ""want to"" kill. eventhandler "killed" but i dont know if rank works on killed soldiers. just test it out. Share this post Link to post Share on other sites
kaiowa 10 Posted September 24, 2009 hi and thx But the problem is that i want to do it every time i kill an enemy. And doing this i have to writte this line in all enemies to works. Share this post Link to post Share on other sites
kylania 568 Posted September 24, 2009 You can do something like loop through all units of a side and add the EH that way. Share this post Link to post Share on other sites
charon productions 10 Posted September 24, 2009 Killed units pretty almost instantaneously loose all reference to the living unit. In many cases you will just get the modelname instead of the pointer to the unit. Share this post Link to post Share on other sites