selected item character member?

LRonSmith

Active Member
Can anyone tell me if there is a way to reference a selected (what is displayed inthe selected item window) but not locked item? Something along the lines of Me.SelectedTarget. I was thinking this would be Me.ActiveTarget, but ActiveTarget only seems to be valid if the target is locked.

Thank you very much.
 

LRonSmith

Active Member
I believe I worded the question in a confusing way. What I mean to be asking is how do I get the current selected item? It looks like all the target related members as listed on the wiki (http://eve.isxgames.com/wiki/index.php?title=Character_(Data_Type)) are only for locked targets. What I am trying to reference is the item I have select by left clicking on it once, but have not locked.

I am sure I am over looking something simple. If someone would point it out to me I would greatly appreciate it.
 

!Sy

Active Member
I'm pretty sure there is no such call, you can get a Iteration of NPCs in your overiew or just the ones who are targeting you but not the one your mouse is over ^^

See:
http://eve.isxgames.com/wiki/index.php?title=Character_(Data_Type)

Code:
    * int GetTargets[<index:entity>] 

    Populates the index with entities you are currently locked on
Code:
    * int GetTargeting[<index:entity>] 

    Populates the index with entities currently being targeted by you 
    Index must be of the type 'index:entity'
or
Code:
    * DoGetTargetedBy[<index:entity>] 

    * DoGetTargeting[<index:entity>]
There is an example at the bottom, dunno how to find all rats around you but you can look it up at the evebot source - the ratter does it pretty well :)
 

LRonSmith

Active Member
Thanks !Sy. It looks like the client does keep track of the current selected item but it may not be an object that is available via isxeve.
 
Top Bottom