Is there a hook for when you pull out a building to build it? I tried the below, it it doesn't seem to hook. I also checked the wiki and couldn't find anything for when you pull out your building (other then "player_carryobject", which is when you actually pick up your building).
Code:
HookEvent("player_builtobject", Event_BuildObject, EventHookMode_Pre);
HookEvent("player_builtobject", Event_BuildObject);
HookEvent("player_carryobject", Event_CarryObject);
Edit, I can hook it with commandlinelistener.
Code:
AddCommandListener(Event_StartBuildObject, "build");