fortun 14 Posted January 20, 2014 Is there any way i can get objectname of the object i am aiming at? Like "Getobjectname Cursor"? I want a mission where i can have a "Dotarget" command on the object am aiming at. For example when i aim at a soldier i get his name in a code? I want to to a script where i can use "Dotarget" on Enemys so my friend can see them for like 20 secounds. I used "object findNearestEnemy position" But then it automatically finds the enemy that i see even if im not aiming at him. I understand that i need to also use some kind of "Addaction "Mark target"" to execute the code on the soldier probably. TLDR I want to make command that Target Enemys that im aiming at for my friend with using the scrollwheel Action bar. Share this post Link to post Share on other sites
iceman77 19 Posted January 20, 2014 Is there any way i can get objectname of the object i am aiming at? hint str cursorTarget; _man doTarget cursorTarget; Share this post Link to post Share on other sites