HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating a spell effect using a trigger (w/out a unit)?

01-03-2004, 11:25 PM#1
azeckoski
I am trying to cast blizzard on an area using a trigger but I can't figure out how to create a spell on a point using a trigger. I tried creating an invisible unit and giving him the blizzard ability an ordering him to cast blizzard but nothing happens. This seems really simple but I can't seem to get it.
Thanks for any help.
-AZ
01-04-2004, 12:10 AM#2
Eriond
Your idea should work... can you give me the exact trigger you used?

Use the copy as text feature (control + shift + c) over the title on the editing part of the trigger editer. You know right above the red flag it has the trigger's name? Highlight that and copy as text, then paste it (control + v) to here.
01-04-2004, 12:16 AM#3
zotax
The old UMSWe had a function create-spell at a point, the patch 1.13 friendly patch should have it to.
01-04-2004, 12:16 AM#4
Xinlitik
A-Create the unit.
A-Add blizzard to last created unit.
A-Add a (duration of your blizz spell) generic experation timer to last created unit.
A- Issue order targeting a point-- Order last created unit to blizzard (if you have UMSWE) or Human Archmage - Blizzard (if you dont) variable point or chosen point.
Make sure the Blizzard has a 0 mana cost and is a UNIT ability of the caster is not a hero.
01-04-2004, 03:05 PM#5
azeckoski
I have version 4.1 beta of UMSWE.

Where can I find the create spell command in the world editor? What is it under? Units maybe? I don't see anything like that.
-AZ

Here are my current triggers:
Create unit:
Unit - Create 1 Neptune for Player 12 (Brown) at (Center of NeptuneRegion <gen>) facing (Source of current camera view)
Unit - Add Blizzard (Neutral Hostile) to (Last created unit)
Set cineUnit = (Last created unit)

Cast Spell (I have tried both of these):
Unit Group - Pick every unit in (Random 1 units from (Units in NeptuneRegion <gen> matching ((Unit-type of (Matching unit)) Equal to Survivor))) and do (Actions)
Loop - Actions
Unit - Order cineUnit to blizzard (Position of (Picked unit))
Unit - Order cineUnit to Human Archmage - Blizzard (Position of (Picked unit))
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\ReplenishMana\SpiritTouchTarget.mdl

I added the special effect to make sure that it is targetting the unit correctly (it is).