HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

triggers

11-14-2008, 04:23 AM#1
Nuclear Arbitor
i feel like I'm missing triggers... is there really only two triggers for destructibles?
11-14-2008, 04:37 AM#2
rulerofiron99
Is there something you'd like to achieve?
11-14-2008, 04:46 AM#3
Nuclear Arbitor
yes but I'm getting it to work. i was specifically referring to destructible events but if TFT only has two then I'll shut up and save my self worse embarrassment.

EDIT: how the fuck do you cast a spell using gui(not make a unit cast one). i cant find it any where.
11-14-2008, 05:18 AM#4
Jazradel
You can't. You create a dummy unit and order it to cast it.
11-14-2008, 05:21 AM#5
Nuclear Arbitor
dam it, i was afraid of that. can you do it in jass or do you still need a dummy? also, if i use gui do i have to modify an existing spell to make it work?
11-14-2008, 05:22 AM#6
Rising_Dusk
Moved to the T&S forum.
11-14-2008, 05:39 AM#7
Pyrogasm
Lawls.
11-14-2008, 11:03 AM#8
Zerzax
Off-topic: your new avatar is shweet Pyro
11-15-2008, 05:39 AM#9
Nuclear Arbitor
my 3rd post remains unanswered. if some one would, um, teach me a little bit?
11-15-2008, 06:10 AM#10
Pyrogasm
You cannot just randomly cast a spell. You must use a dummy unit, and it can be done in both GUI and JASS.
11-15-2008, 12:40 PM#11
Zerzax
The basis of a spell is that it is an order carried out by a unit. That's just how it works in Warcraft 3. If you want, I / we can tell you more about how to do it with coding.
11-15-2008, 01:00 PM#12
Tide-Arc Ephemera
Quote:
Originally Posted by Nuclear Arbitor
dif i use gui do i have to modify an existing spell to make it work?
Make a copy of the spell, edit the fields to make it all magical and yours 'n' stuff. After that, make the dummy unit and then cast the spell based it was based on.

For example, if I wanted to make a cloud bomb... I would make an ability based on Cloud, remove all the requirements etc. make it last X seconds, then in the trigger I would create I a dummy unit, order the dummy unit to cast Human - Dragonhawk Rider - Cloud at point X and the conditions and events are assumed to already be set.

Did that make sense?
11-15-2008, 04:52 PM#13
Nuclear Arbitor
yeah i think so, thanks.
11-16-2008, 12:56 AM#14
Nuclear Arbitor
my trigger be broke...
Click image for larger version

Name:	broke trigga.JPG
Views:	10
Size:	23.7 KB
ID:	38484

the guy spawns but doesn't do any thing
Attached Images
File type: jpgbroke trigga.JPG (23.7 KB)
11-16-2008, 01:35 AM#15
Zerzax
I've never seen the use of stopping a terrain deformation in Shockwave.. Are you sure this works? Unless its embedded in the spell shockwave itself, I don't think the global that represents "Last Created Terrain Deformation" is assigned to the spell. I could very well be wrong, but this might be the problem.

EDIT: Also, make sure that (a your unit has the shockwave ability and (b use a Unit Expiration Timer to kill the unit after about 1 second instead of Remove Unit. You are removing the unit too quickly, it can't cast in time.