I need help with a trigger!

JetFangInferno

Member!
Joined
Feb 2, 2004
Messages
23
Reaction score
0
Website
Visit site
I need a trigger that makes unit not run back to the base when they get hit in my battleships map. They spawn and go towards the opponent's base, they get hit then they run back! I need a trigger that makes units that belong to that player attack theo other side. Oh and BTW, how do u add a sound when a unit attacks because i have a missle model that has no sound! Please help me make a trigger! Darimus if u can hear me i need help cuz ur so good!!!
 

Icedragon

BattleForums Addict
Joined
Aug 2, 2002
Messages
836
Reaction score
0
Location
The Swiming Pools
ok well the first one might be solved by a simple change in the unit properties make sure that the property for Stats-can flee make sure that is set to false and what missle model has no sound? maybe you could write a trigger like this

Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacking unit)) Equal to Footman
Actions
Sound - Play WoodLightBashFlesh3 <gen> at 100.00% volume, attached to (Attacking unit)

if it an item attacking that gets a little triky im sure i will think of something its just not comeing to mind at the moment
 

x42bn6

Retired Staff
Joined
Nov 11, 2002
Messages
15,150
Reaction score
2
Location
London, United Kingdom
JetFangInferno said:
I need a trigger that makes unit not run back to the base when they get hit in my battleships map. They spawn and go towards the opponent's base, they get hit then they run back! I need a trigger that makes units that belong to that player attack theo other side. Oh and BTW, how do u add a sound when a unit attacks because i have a missle model that has no sound! Please help me make a trigger! Darimus if u can hear me i need help cuz ur so good!!!
Go to the Object Editor and select the units that are running. The change Stats - Can Flee to False.*
 

NewPosts

New threads

Top