| 07-04-2006, 07:53 PM | #1 |
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 |
TriggerRegisterAnyUnitEventBJ just runs the TriggerRegisterPlayerUnitEvent function for all players. unitevents are only for one unit; playerunitevents are for all units owned by a player. |
