need spell help: rock prison

educator

New Member
Reaction score
9
i want to make a spell that when used it will make a wall of rocks a certain distance away from the caster in a circle. need help with the triggering must be GUI.

-not urgent
 

Skippy

Active Member
Reaction score
39
Lol I have this spell too. I made this about one year ago.
However, it is not MUI.

Trigger:
  • Golem Prison
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Rock Prison (Golem)
    • Actions
      • Set Temp_Point = (Position of (Triggering unit))
      • For each (Integer A) from 1 to 30, do (Actions)
        • Loop - Actions
          • Set Temp_Position_Target = (Temp_Point offset by 400.00 towards ((Real((Integer A))) x 12.00) degrees)
          • Set Temp_Unit_Group = (Units within 100.00 of Temp_Position_Target matching (((Matching unit) is A structure) Equal to False))
          • Set Temp_Region = (Region centered at Temp_Position_Target with size (250.00, 250.00))
          • Destructible - Pick every destructible in Temp_Region and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • Or - Any (Conditions) are true
                    • Conditions
                      • (Destructible-type of (Picked destructible)) Equal to Ashenvale Tree Wall
                      • (Destructible-type of (Picked destructible)) Equal to Ashenvale Canopy Tree
                • Then - Actions
                  • Destructible - Kill (Picked destructible)
                • Else - Actions
          • Unit Group - Pick every unit in Temp_Unit_Group and do (Actions)
            • Loop - Actions
              • Unit - Move (Picked unit) instantly to (Temp_Position_Target offset by 110.00 towards (Angle from Temp_Position_Target to Temp_Point) degrees)
          • Destructible - Create a Fissure Doodad at Temp_Position_Target facing (Angle from Temp_Point to Temp_Position_Target) with scale 0.70 and variation 0
          • Set Golem_Prison_Parts[(Integer A)] = (Last created destructible)
          • Custom script: call RemoveLocation(udg_Temp_Position_Target)
          • Custom script: call DestroyGroup(udg_Temp_Unit_Group)
      • Custom script: call RemoveLocation(udg_Temp_Point)
      • Wait (2.00 + (Real((Level of Rock Prison (Golem) for (Triggering unit))))) game-time seconds
      • For each (Integer A) from 1 to 30, do (Actions)
        • Loop - Actions
          • Set Temp_Point = (Position of Golem_Prison_Parts[(Integer A)])
          • Special Effect - Create a special effect at Temp_Point using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
          • Set Golem_Prison_Effects[(Integer A)] = (Last created special effect)
          • Destructible - Remove Golem_Prison_Parts[(Integer A)]
          • Custom script: call RemoveLocation(udg_Temp_Point)
      • Wait 1.50 game-time seconds
      • For each (Integer A) from 1 to 30, do (Actions)
        • Loop - Actions
          • Special Effect - Destroy Golem_Prison_Effects[(Integer A)]
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top