Hey, i am working on a function to signal allies in megaglest. Its function is to give some signal on the minimap when you need help or pin point some place on the map so other ally player will know the exact place, its like alt+f click on AOE or shift click on Warcraft.
First thing i do, i use the addAttackEffect() function from UnitUpdater class and add it to Game.cpp class on the MouseDownLeft function, and add some if statement when you shift click on the minimap the signal will appear. But then again, the signal are only appear on the signal sender only, but not the entire ally of the player.
I suppose the problem are on the parameter i am using to catch the mouse position, but i am so stuck here
, and need some help or suggestion. So i kinda hope someone can help me to solve this ASAP. thanks by the way....