Jump to content
Sign in to follow this  
mthcom

display a message by clicking an entry menu

Recommended Posts

I want to display position of a unit whenever i want.

how can i add an entry to the right down menu?

and also how can i display a message when i click on that entry?

and sry but i want to know how getpos works

it was to hard to find these seperatly in forum

thanks a lot for future answers:D

Share this post


Link to post
Share on other sites

The easiest way would be use a radio trigger. Put a trigger on the map, activated by radio Alpha, repeatable. Then name the unit as you wish (my_unit for example) and write the following in the "on activation" part of the trigger menu :

hint format["Position of the unit is :%1",getpos my_unit]

Then, whenever you want to see the unit position, type 0-0-1.

Share this post


Link to post
Share on other sites

sorry i'm new;)

this help was great how can i thank you i mean where is the button:D

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×