another way for Map Markers to follow Actors

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: another way for Map Markers to follow Actors

another way for Map Markers to follow Actors

by neoworm » Tue Nov 17, 2020 2:15 am

Right now for MapMarker to be able to follow different actor, the actor needs a TID. That limits the ways the Marker or the actor can be used. For example I can create mod that adds markers to specific items by asigning them unique TIDs but I risk either overwriting TIDs set in map or I have to skip those items and they won't have their markers. I tried to use A_warp to move the marker to the Actor position by hand but I couldn't make it work. And since the method to draw the icon on map is hardcoded, I coudn't do anything else. I made thread in scripting about it: viewtopic.php?f=122&t=70631

My proposal is some alternative method for MapMarkers to follow other Actors. I think Master pointer of the marker would be perfect.
Even better would be a way to assign some icon representation of any actor as a property, with a way to dissable or enable the icon through Zscript.

Top