Condition
Player suffers x death
action
set death to 0
creat 4 marines and a dropship
enter transport
switch 1 on
condtion
switch one on
action
order dropship to location
condition
always
action
exit trapsport
tahts my system but its not working
Basically i want a dropship to load stuff in it and unload it in another locaiton.
HOW?
I'm assuming you know how to create units.
Make the units
Have a location over the Transport and units
Run AI script "Enter Transport" at that location
Wait for the units to enter.
Order the transport to the next location
Run Ai Script "Exit Transport" at the next location.
There you go.
for osme odd reason, the transport keeps going back to its star location.
QUOTE(r[s]t @ Feb 13 2006, 09:10 PM)
Condition
Player suffers x death
action
set death to 0
creat 4 marines and a dropship
enter transport
switch 1 on
[right][snapback]426750[/snapback][/right]
Practacily its what that guy said theres a trigger called run A.I script and theres
unload/ load. Its either your using some other map editor or it could be the first pattern
Try adding about a 600 millisecond wait after you load the units up. You could do it all in one trigger.
| Trigger |
null| Conditions: |
| ¤ Player X has suffered Y amount of deaths of unit Z |
| Actions: |
¤ Set Deaths for Player X: Set to 0 for unit Z
|
¤ Create 4 Marine + a Dropship at 'Location 1'
|
¤ Run AI Script: Enter Transport at 'Location 1'
|
¤ Wait 600 Milliseconds
|
¤ Move all Dropship for Player X at 'Anywhere' to 'Location 2'
|
| ¤ Run AI Script: Exit Transport at 'Location 2' |
You cant use that trigger. By the time the dropship gets to its desination the trigger will be finished. You could add another wait trigger right after the order condtion.
With ur trigger u can do this
Condtion
Player suffers x death
action
set death to 0
creat 4 marines and a dropship
wait 1000
enter transport
---------------------
condtion
Bring one OV to location
action
order dropship to location
----------------------
condition
Bring 1 OV to Lcation
action
exit trapsport
I never used the order command in my trigger...OH, I didn't know he wanted to use the order action. I thought he was talking about the "move unit" action. And Flipmonkey, in yours, do you think they would have enough time to enter the dropship? It usually takes a bit before every marine gets loaded.
QUOTE(urmom @ Feb 15 2006, 03:10 PM)
I never used the order command in my trigger...OH, I didn't know he wanted to use the order action. I thought he was talking about the "move unit" action. And Flipmonkey, in yours, do you think they would have enough time to enter the dropship? It usually takes a bit before every marine gets loaded.
[right][snapback]427836[/snapback][/right]
ops i thought i added wait action. ill fix it right now
I could'nt be bothered to read all the posts... I had a similar problem once, I think that when you tell a dropship to unload it goes back to the last available landing zone it moved over, or something like that. I had to completly remove the dropship enter and exit and just make it create and removing...
QUOTE
condition
always
action
exit trapsport
If you are using Always for the condition, it will try to unload the second the game starts.
Wasn't there a tutorial for that? :/
okay heres the problem. Once they enter the dropship, the mariens come back out. WTH!!!
and i'm not using hte always as condition.
I'm using suffer deaths and bring conditions.
QUOTE(r[s]t @ Feb 23 2006, 03:33 PM)
okay heres the problem. Once they enter the dropship, the mariens come back out. WTH!!!
and i'm not using hte always as condition.
I'm using suffer deaths and bring conditions.
[right][snapback]433376[/snapback][/right]
It's the dumb computer ai...they do that...if you do it with neutral players they won't come back out, so you can try using it.