| 01-02-2007, 02:04 PM | #1 |
I was asking myself if this was possible, sincefor a project in which i'm working, I need to make the build ability not seeable in the order menu. The reason is because I want to use an ability that once it be clicked, it will run the build ability and show the Build SubMenu. The reason is because there's no actual easy way to detect when a unit shows the Build_SubMenu, and at the same time get that unit. Btw the event: EVENT_GAME_BUILD_SUBMENU, does not return the triggerunit, nor the player, plus is not multiplayer friendly. Until now, I've been looking at the AbilityData.slk and the AbilityMetaData.slk, but that brings me no Idea of how to add it. |
