I'm looking for a way to figure out if something has been selected in this space map. I've attached some pictures and the map for you to see.
If it helps, I already have the xyz positions of all the 'objects' in variables. I just need a way to see what the mouse clicked using a 'traceline without units' I think.
Things I've looked at or tried:
-Tracelines which use units but I do not use units. I use actors with models instead.
-Creating units at the position of things and using the trigger event unit selected, but the units themselves don't seem to get to the correct position.
-Messing with the actors events to return some kind of response to mouse clicks but it's beyond me.
If it is a unit, there is a trigger for "unit is selected". I believe there is also a trigger to receive the position of the mouse on the screen. So you could play around with those to see if it works for you.
I'm looking for a way to figure out if something has been selected in this space map. I've attached some pictures and the map for you to see.
If it helps, I already have the xyz positions of all the 'objects' in variables. I just need a way to see what the mouse clicked using a 'traceline without units' I think.
Things I've looked at or tried:
-Tracelines which use units but I do not use units. I use actors with models instead.
-Creating units at the position of things and using the trigger event unit selected, but the units themselves don't seem to get to the correct position.
-Messing with the actors events to return some kind of response to mouse clicks but it's beyond me.
@zandose: Go
If it is a unit, there is a trigger for "unit is selected". I believe there is also a trigger to receive the position of the mouse on the screen. So you could play around with those to see if it works for you.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here