I have a level built with 1 entity. I want to be able to click the unit and have a panel pop up. Only when i click over it nithing happens. Can someone help me out with this one? I'm giving the action to the building in WED.

function build_units()
{
if (event_type == EVENT_CLICK)
{
build_gui_pan.visible = on;
return;
}
}

//uses:Available_Slots
action on_click_dock
{
my.enable_click = on;
my.event = build_units;
}


Just Because Your Paranoid Doesn't Mean They Aren't After You...Because They Really Are

http://spearbang.awardspace.com/news.php