[trigger]
Debug Unit ID
Events
Local Variables
Conditions
Actions
Debug - Display (Text((String((Unit type of sdunit ))))) as debug output using Type 1, and Do display it in the game window
[/trigger]
Unit Type Of Unit这个函数返回的类型是Game Link所以你需要一步Convert Game Link To String才行。