• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Triggering help!

Status
Not open for further replies.
Okay, i want to have the slaughterhouse build a ground transport unit which is cloaked (I already made that unit) that comes with 8 ghouls loaded inside as soon as it is built. If you ever played C&C Generals, it's kinda like China's troop crawler. :)
 
Yes i have...
Well in script its easy, but i dont help you with my script becouse i can't take risks but its easy to do so you get 8 units when you get the Transport.. but that they are gonna be boarded :/ in trigger:/

then i don't know; there is manny limits when you want that...
 
I've already tried that out, well then its gonna be like this. When the Transport is finished then there is gonna creates 8ghouls near the "van" and then you need to set them in the transport manually... -_- belive me.
 
to make it automaticly trigger should go something like this

Transport Events
Unit - A unit enters start <gen>
Conditions
(Unit-type of (Entering unit)) == Goblin Zeppelin
Actions
Set transport = (Entering unit)
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport
Unit - Create 1 Ghoul for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
Unit - Order (Last created unit) to Board transport


youll need to make unit type variable, change regions and condition unit
 
Well if you build a slaughter house and then you build 1 more... :/ where is the start region, allover the map :/... Your sulotion is very easy did, i could do the same but that one isent very good he want so you can build the house where ever he wants and then when the house its finished and he have trained "transport unit" then there already should be 8ghouls, //i'm working on it...
 
I have fix your problem :D
it took't time but i fixed it, almost as you wannn it.
when you drop the units (ghouls) then you never can enter the Transport with units again, so it works 1 time then you need to buy a new unit.

:Object editor:
Change meatwagon abilities
delete desise cloud from meat wagon
and add mana initial amount 8000 and mana max 8000 and 0.00 mana regenation
:Abilities:
Exhume corpse; mana cost 1000
Duration; 0.10
Maximum number; 1
Techtree - requirement; none

:Trigger:
:Event:
Unit - A unit Starts the effect of an ability
:Condition:
(Ability being cast) Equal to Drop Corpse
:Action:
Unit - Create 8 Ghoul for (Owner of (Casting unit)) at Position of casting unit
Wait 0.10 seconds
If (all Conditions are True) then do (Then Actions) else do (Else Action)
If - Condition:
(Unit-type of (Casting unit)) Equal to Meat Wagon
Then - Action:
Unit -Remove (Ability being cast) from (Casting unit)
Else - Action:
None

//Abe; this works perfect test it and do exactly as i have shown here!!! :lol: :P :wink:
 
Thanks for the trigger! it kinda works but...:? i need the transport unit to be able to transport with units since for my map, it is used for stealthed attacks. The ghouls in y map are pathetic and my transport unit needs to be able to hold other stronger units such as Infernals and Heroes.

BTW, im almost done with my map. I'll have it submitted by monday! U should check it out, it will be called Forces of Darkness V 1.0 (i should really come up with a better name.... :( )

It will be my first map (that's not crappy) so comments will be appreciated!
 
Status
Not open for further replies.
Back
Top