HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Player Unit Event vs. Unit Event

07-04-2006, 07:53 PM#1
EveningStar
Hi,

does anyone know if Unit Event is more efficient than Player Unit Event? I'm trying to decide if I should just stick with RegisterAnyUnitEventBJ(..) or RegisterUnitEvent(t, hero, EVENT_UNIT_SPELL_EFFECT).

Thanks!
07-04-2006, 10:18 PM#2
Naakaloh
TriggerRegisterAnyUnitEventBJ just runs the TriggerRegisterPlayerUnitEvent function for all players. unitevents are only for one unit; playerunitevents are for all units owned by a player.