HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Custom Spell Triggering

09-05-2004, 06:47 AM#1
garith
Im currently working on a difficult task: Turning Wc3 into a 3rd person shotter.. with guns!

Now, for this i need this trigger:

unit starts shooting (I have this worked out)

Begin Casting :Shoot Ability.

Now where is the order to cast a spell!? Oh ok.. issue order without a target/with target... Oh! Only the original spells!!!!!!!!!!!!!!!!!!!!

Can someone help me out here? do i need WEU?
Thanks all,

Garith
09-05-2004, 07:36 AM#2
Arohk
Quote:
Originally Posted by garith

Now where is the order to cast a spell!? Oh ok.. issue order without a target/with target... Oh! Only the original spells!!!!!!!!!!!!!!!!!!!!


Garith

unit-order (unit) to (your base ability) a (unit)

if your ability is based on stormbolt you hacve to order the unit to cast storm bold on the target
09-09-2004, 09:57 AM#3
garith
Ha! not so easy! I need it based on shockwave! its not there! Why does god taunt me?
09-09-2004, 11:05 AM#4
SpadeZ
You need to use the "Unit - Issue Order Targeting A Point".
Code:
Unit - Order [b]unit[/b] to Orc Tauren Chieftain - Shockwave [b]region[/b]

If you wanted to target a unit, then just get the unit's positition, using;
Code:
Unit - Order [b]unit[/b] to Orc Tauren Chieftain - Shockwave (Position of ([b]unit2[/b]))

09-09-2004, 12:03 PM#5
Octavius
yeah in case you hadnt noticed, in game you target the ground with shockwave and it fires there, you dont have to click a unit target
09-11-2004, 02:05 AM#6
garith
Quote:
Originally Posted by Octavius
yeah in case you hadnt noticed, in game you target the ground with shockwave and it fires there, you dont have to click a unit target

lol, yeah i know, ive plaed this a fair bit, i was just wondering how to make it so that with triggers, the crosshair comes up aswell! I dont want it to just fire in a direction, i want to choose where it shooots! I want it to be ordered to cast it then give me the choice where to shoot...

hmmm, please get back to me on this, im just not getting it.