Warcraft III resources & community, 2003–2006 · archived

Expertee's on triggering? (Help)

6 posts
#1

Expertee's on triggering? (Help)

Ok, so basically i need this trigger to work like, if a player selects 12 of the "crystlis's" i want each one to die and leave a unit under it, but whne i was testing all the units mass up on one and one explodes, and thats only sometimes.. . . .... and once ina while in multiplayer (when i tested) the unit would start off into another players base...

Heres what i have so far...

Events:
Unit- a unit starts the effects of an ability

Conditions:
(Ability being cast) equal too ('spell name')

Actions:
Set Drone_cash = (Triggering Unit)
Set Drone_cystlis = (Position of (Triggering Unit))
If All conditions are true)Then do(actions)..(else)

If - Conditions
((Owner of Drone_cash) current lumber greater than or equal too 40

Then - Actions
Player Add -40 to (owner of(Drone_cash)) current lumber
Wait 15 seconds
Unit - Kill (drone_cash)
Unit - Create 1Drone for (Owner of Drone_cash) at (Position of Drone_cash) faceing bla bla...
Unit - Create spechil effect .. bla bla..

Else - Actions:
Game display to players bla bla bla...
Do nothing


Ok yeah.. . . can anyone give me some pointers?
i wouldent mind doing massave triggrs for it, because the whole backbone of my Map... basically it spawns your basic units... well. . . medium to basic units.. . ... Yup yup..
Thus.. i umber need it to work good.
Anyone up for the challenge?
#2
I'm in a hurry..So this is what i'm gonna tell you.

Don't use "triggering" if there's other possibilities.

Use "Casting Unit"
#3
Also, when you mean create them at random areas, did you make sure you fixed the Start Locations, if they are involved. Sorry, in a rush too
#4
Your 15 sec wait action could cause some problems, e.g. if the trigger is running and you start it while trigger one isn't complete, your variables

Set Drone_cash = (Triggering Unit)
Set Drone_cystlis = (Position of (Triggering Unit))

will mess up.
#5
Solution: Make arrays, or destroyer form with delays
#6
well, iv tryed all the destroyer form abilitys, se there are 4 of these on one unit... so that creates 'cross contamination' I guess you could call it.. . ..

what about the arays?.. i dont think i have any on any of my variables, lol. .. . .. cuz i dunno what they are