|
发表于 2008-3-4 13:02:44
|
显示全部楼层
貌似这个事件是指玩家选取一个单位,而不是这个玩家的单位被选取吧………………
[codes=jass]function TriggerRegisterPlayerSelectionEventBJ takes trigger trig, player whichPlayer, boolean selected returns event
if selected then
return TriggerRegisterPlayerUnitEvent(trig, whichPlayer, EVENT_PLAYER_UNIT_SELECTED, null)
else
return TriggerRegisterPlayerUnitEvent(trig, whichPlayer, EVENT_PLAYER_UNIT_DESELECTED, null)
endif
endfunction[/codes]
a.w3m
(17 KB, 下载次数: 12)
|
|