Tutorial Diskussion:Getriggerter Zauber – Mappedia

Tutorial Diskussion:Getriggerter Zauber

Aus Mappedia
Wechseln zu: Navigation, Suche

bitte gui oder jass tags für trigger verwenden sieht noch nicht perfekt aus aba besser als davor... und bilder uploaden im mapping pool und nicht mit deiner festplatte verlinken thx


--Pris0n

Falsch

Dieser Artikel ist in folgenden Punkten fehlerhaft oder könnte Verbessert werden

Ich denke es ist wichtig einen solches Tutorial zu haben, allerdings sollte es auch Fehlerfrei sein. Ich denke wenn man das Tutorial noch stark erweitert könnte man am Ende auf folgenden Auslöser kommen:

Trigger:
Symbol of Death
Ereignisse
Einheit - A unit Beginnt, eine Fähigkeit zu kanalisieren
Bedingungen
(Ability being cast) Gleich Symbol of Death
Aktionen
Custom script: local unit udg_Evil_Caster_local
Custom script: local location udg_temp_point1
Set Evil_Caster_local = (Triggering unit)
Set Evil_Caster = Evil_Caster_local
Set temp_point1 = (Position of Evil_Caster)
Set Ang = 0.00
For each (Integer A) from 1 to 90, do (Actions)
Schleifen - Aktionen
Set temp_point2 = (temp_point1 offset by 200.00 towards Ang degrees)
Spezialeffekt - Create a special effect at temp_point2 using Objects\Spawnmodels\Other\IllidanFootprint\IllidanSpawnFootPrint0.mdl
Spezialeffekt - Destroy (Last created special effect)
Set Ang = (Ang + 4.00)
Set Effect[effect_index] = (Last created special effect)
Set effect_index = (effect_index + 1)
Custom script: call RemoveLocation( udg_temp_point2 )
Set Ang = 0.00
For each (Integer A) from 0 to 4, do (Actions)
Schleifen - Aktionen
Set Point[(Integer A)] = (temp_point1 offset by 200.00 towards Ang degrees)
Set Ang = (Ang + (360.00 / 5.00))
For each (Integer B) from 0 to 4, do (Actions)
Schleifen - Aktionen
Set Ang = (Angle from Point[(Integer B)] to Point[(((Integer B) + 2) mod 5)])
Set Dis = 0.00
For each (Integer A) from 1 to 25, do (Actions)
Schleifen - Aktionen
Set temp_point2 = (Point[(Integer B)] offset by Dis towards Ang degrees)
Spezialeffekt - Create a special effect at temp_point2 using Objects\Spawnmodels\Other\IllidanFootprint\IllidanSpawnFootPrint0.mdl
Spezialeffekt - Destroy (Last created special effect)
Set Dis = (Dis + 15.00)
Set Effect[effect_index] = (Last created special effect)
Set effect_index = (effect_index + 1)
Custom script: call RemoveLocation( udg_temp_point2 )
Custom script: call RemoveLocation( udg_Point[1] )
Custom script: call RemoveLocation( udg_Point[2] )
Custom script: call RemoveLocation( udg_Point[3] )
Custom script: call RemoveLocation( udg_Point[4] )
Custom script: call RemoveLocation( udg_Point[5] )
Wait 1.00 seconds
Set Evil_Caster = Evil_Caster_local
Set temp_region = (Region centered at temp_point1 with size (100.00, 100.00))
Set Player = (Owner of Evil_Caster)
For each (Integer A) from 1 to 6, do (Actions)
Schleifen - Aktionen
Set temp_point2 = (Random point in temp_region)
Spezialeffekt - Create a special effect at temp_point2 using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Spezialeffekt - Destroy (Last created special effect)
Custom script: call RemoveLocation( udg_temp_point2 )
Set temp_group = (Units within 200.00 of temp_point1 matching (((Matching unit) belongs to an enemy of Player) Gleich True))
Einheitengruppe - Pick every unit in temp_group and do (Actions)
Schleifen - Aktionen
Einheit - Cause Evil_Caster to damage (Picked unit), dealing 400.00 damage of attack type Zaubersprüche and damage type Normal
Custom script: call DestroyGroup( udg_temp_group )
Custom script: call RemoveRect(udg_temp_region)
Custom script: call RemoveLocation( udg_temp_point1 )
Set Evil_Caster_local = Keine Einheit
Custom script: set udg_temp_point1 = null

--peq

Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Warcraft-Mapping
Werkzeuge