Need a solution to getting cursor position while in map view
Posted: Fri Jun 05, 2020 1:21 am
Context: I want to chart an area of choice on the map. Since there is no cursor.position information available to us (I would love to be wrong here), I've been led to believe that using events would be the easiest way to get this information (since the event would be at the cursor location). I've tried to modify both the poison capsule and artillery target remote with limited success. For the modified poison capsule I am able to record the event location at time of use and reveal the area around the event, however I cannot use the capsule from the map view. It seems that the capsuleAction of type projectile does not have such an option within its data structure. With the modified artillery targeting remote the capsule action will happen on the map view, but I cannot set the type to nil, so the event would have to be within the range of the artillery cannon (the event is prevented from occurring if there is not one) and if it is within range it would also shoot a projectile shell....
I do not know if copying and modifying a capsule_action type is something that is possible, but I am assuming it is not. I am open to suggestions on how to use capsules to get the cursor position while in map view, other ways to get the cursor position while in map view, or some other means to bypass needing to get the cursor position to reveal the area around the cursor.
I do not know if copying and modifying a capsule_action type is something that is possible, but I am assuming it is not. I am open to suggestions on how to use capsules to get the cursor position while in map view, other ways to get the cursor position while in map view, or some other means to bypass needing to get the cursor position to reveal the area around the cursor.