HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

spells with buff

08-16-2004, 04:17 PM#1
limez
k if a unit/s get a buff like storm bolt how do u make them teleport to a regon.
k well i tryed this trigger and it did not work

-event- map initliazation
-conditions- triggering unit has buff sclince equal to true
-actions- unit- move triggering unit instantly to center of my rect
i might have this wrong but well i do have this wrong so plz help
08-16-2004, 05:33 PM#2
Anitarf
Code:
Events:
  time - periodic event - every 0.1 seconds of game time
Conditions:
Actions:
  general - set variable - set unitGroupVariable = 8units in region matching condition - units in playable map are matching (boolean comparison - unit has specific buff - ((matching unit) has buff (stunned)) equal to true))
  unit group - pick every unit in unit group and do actions - pick every unit in (unitGroupvariable) and do actions:
    loop - actions:
      unit - move unit (instantly) - move (picked unit) instantly to (centre of region)