• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Something wrong. +Rep

Status
Not open for further replies.
Level 9
Joined
Jul 11, 2009
Messages
294
I want this unit to cast warstomp everytime i spawn it,the warstomp spell is already inserted in the unit.
When i place the unit somewhere to test.
Like
Elasped time is 15 seconds.
Order Warstomp dummy to Orc Tauren Chieftian-Warstomp

^This will work,but below mentioned trigger would not work.

This is my trigger.

Events
Every 5 seconds of game time.
Conditions
Actions
Set Bomb_Point=(Random Point in Playable map area)
Create 1 dummy stomp unit for neutral hostile at Bomb_Point facing default building facing degrees.
Order last created unit to Orc Tauren Chieftian-War Stomp
Unit-Remove last created unit from the game.
Customscript: call RemoveLocation (udg_Bomb_Point)



Whats wrong with the trigger mentioned above?:mwahaha:
 
Level 9
Joined
Jul 11, 2009
Messages
294
It is not based on the hero orc tauren chieftian's warstomp but the neutral hostile warstomp but they both have the base id stomp and when i tried the first trigger for testing it would work but the second one would not work.
 
Level 19
Joined
Oct 15, 2008
Messages
3,231
Maybe set a trigger and put the condition to be a Tauren Chieftain is created or something like that, I've not done Triggers for a long time...
 
Level 9
Joined
Jul 11, 2009
Messages
294
I don't think that would work,i've tried set BombDummy=Last created unit then order bombdummy to orc tauren chieftian warstomp
In 10 minutes if no one could give me a answer then i'll use another method which is not effective.

Thanks anyway.
 
Level 12
Joined
Nov 24, 2007
Messages
543
Order last created unit to Orc Tauren Chieftian-War Stomp
Unit-Remove last created unit from the game.

The dummy probably gets removed before he can cast the spell. Give it an expiration timer maybe that will help.
 
Level 19
Joined
Oct 15, 2008
Messages
3,231
I know what you can do, just make it so that you give the Tauren Chieftain some indication or name, set a trigger for it only, make the trigger for spawning out then make the effect as War Stomp...
 
Status
Not open for further replies.
Top