- Joined
- Sep 17, 2004
- Messages
- 61
I need help with my Face Hugger system, what I thought was going to be an easy task turns out to be a problem now.
I was first planning to make it so when they attack a trigger directs them to cast parasite on their target, but I can't direct them to cast that spell. So I choose to use auto cast black arrow (no unit spawns), and then when they die with that buff I had a trigger detect their race (Human,Night Elf, or Orc) and make a face hugger corresponding to that race at the position of the dead unit. But no matter how i tried it warcraft 3 cant detect buffs of a dying unit. I made some fixes too the system but is very buggy and not complete and i'm lost right now.
I was first planning to make it so when they attack a trigger directs them to cast parasite on their target, but I can't direct them to cast that spell. So I choose to use auto cast black arrow (no unit spawns), and then when they die with that buff I had a trigger detect their race (Human,Night Elf, or Orc) and make a face hugger corresponding to that race at the position of the dead unit. But no matter how i tried it warcraft 3 cant detect buffs of a dying unit. I made some fixes too the system but is very buggy and not complete and i'm lost right now.
-
Face Hug
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacking unit)) Equal to Face Hugger
-
Actions
- Wait 0.50 seconds
- Unit - Remove (Attacking unit) from the game
-
Events
-
Face Hug 2
-
Events
- Unit - A unit Finishes casting an ability
-
Conditions
- (Ability being cast) Equal to Face Hug
-
Actions
- Unit - Remove (Casting unit) from the game
-
Events
-
Human Face Hug
-
Events
- Unit - A unit Dies
-
Conditions
- (Number of units in (Units of type Chest Burster)) Greater than 0
- (Race of (Dying unit)) Equal to Human
-
Actions
- Unit Group - Pick every unit in (Units of type Chest Burster) and do (Unit - Remove (Picked unit) from the game)
- Unit - Create 1 Chest Burster (Human) for Player 1 (Red) at (Position of (Dying unit)) facing Default building facing degrees
-
Events
Last edited by a moderator: