here i wanted to make a simple way to teleport in another region
i wanted to begin by making a code in gui first to get an idea than turn it into jass!!
so i tryed to make this, when i enter in this region wc3 bugg and uber lag and wc3 freeze.... so i tryed also with triggering unit,same problem, its not the first time its happening to me O_O do i have to put a circle of power on the ground ?
i wanted to begin by making a code in gui first to get an idea than turn it into jass!!
so i tryed to make this, when i enter in this region wc3 bugg and uber lag and wc3 freeze.... so i tryed also with triggering unit,same problem, its not the first time its happening to me O_O do i have to put a circle of power on the ground ?
-
Move
-
Events
- Unit - A unit enters Region 020 <gen>
-
Conditions
- ((Entering unit) is A Hero) Equal to True
-
Actions
- Set RegionPoint[1] = (Center of Region 024 <gen>)
- Unit - Move (Entering unit) instantly to RegionPoint[1]
- Special Effect - Create a special effect attached to the origin of (Entering unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTo.mdl
- Special Effect - Destroy (Last created special effect)
- Special Effect - Create a special effect attached to the origin of (Entering unit) using Abilities\Spells\Human\MassTeleport\MassTeleportTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_RegionPoint[1])
-
Events