|
发表于 2011-7-14 12:46:16
|
显示全部楼层
bool gt_TriggerTest_Func (bool testConds, bool runActions) {
// Conditions
if (testConds) {
if (!((UnitGetOwner(EventUnit()) == 1))) {
return false;
}
}
// Actions
if (!runActions) {
return true;
}
TriggerDebugOutput(1, StringExternal("Param/Value/2ED0C478"), true);
return true;
} |
|