junk yard dog
Jan 10 2009, 9:19 pm
By: Toothfariy  

Jan 10 2009, 9:19 pm Toothfariy Post #1



okay i set an ai script at "location" to junk yard dog, and every unit went completely bonkers!

i thought that junk yard dog made them just randomly run around, but most of the units spun in circles

i know on maps like dodge the rapist they use junk yard dog to make the units move around the area but they dont do what they did when itested it



None.

Jan 10 2009, 9:30 pm Biophysicist Post #2



stop spamming it and see what happens.

Post has been edited 2 time(s), last time on Jan 10 2009, 9:36 pm by NudeRaider. Reason: lol



None.

Jan 10 2009, 9:34 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Toothfariy
okay i set an ai script at "location" to junk yard dog, and every unit went completely bonkers!
Hyper triggers + preserved junkyard dog = bonkers ;)




Jan 10 2009, 9:35 pm Toothfariy Post #4



crap... then how do i do it?



None.

Jan 10 2009, 9:37 pm NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Toothfariy
crap... then how do i do it?
O.o remove any component on the left side of the equation. I'd go for preserve. :P




Jan 10 2009, 9:40 pm Biophysicist Post #6



Take out "preserve trigger"?



None.

Jan 10 2009, 9:43 pm Toothfariy Post #7



yeah the perserve did it

so i guess hypertrigs and perserved junkyard dog dont mix

1 more problem now tho, all computer units on the map are doing it

not just the the specified player 8

any way around this?



None.

Jan 10 2009, 9:48 pm NudeRaider Post #8

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

How did you "specify" P8? Syntax of AIs is <type> [location] and it's always executed for the trigger owner.
Run the trigger for P8 only.




Jan 10 2009, 9:51 pm Toothfariy Post #9



i am. i only checked player 8 as the trigger owner

my trigger is also very specific

i have some player 7 computers else where, not in the location where i set the junkyard dog
however player 7 is also moving along w/ player 8

so only player 8 has units at the location

also, i have another ai script problem

the beginning of my map i have some unit get automatically loaded into a transport at a location. now u can buy more units to load, but i want them to be loaded by themselves after that. now the trigger for the beginning is not preseved. its "create units" "move transport to location" "enter transport" and those are all the actions

so i guess does the enter transport script keep running?



None.

Jan 10 2009, 9:55 pm stickynote Post #10



Another way to do this while still suing preserve trigger is to add something to the conditions that you can control. For example, you could make it so that if a player brings a unit to some discreet location off the playable area, it will run the AI script. Then, once it does, you remove the unit, and create it there again when you need to run the AI again.



None.

Jan 10 2009, 9:56 pm Toothfariy Post #11



Quote from stickynote
Another way to do this while still suing preserve trigger is to add something to the conditions that you can control. For example, you could make it so that if a player brings a unit to some discreet location off the playable area, it will run the AI script. Then, once it does, you remove the unit, and create it there again when you need to run the AI again.

the problem isnt that, its that the units go insane and spin around as if they were chasing their tails



None.

Jan 10 2009, 10:04 pm stickynote Post #12



But you can have the remove unit action after you run the AI. Then they won't go "bonkers".



None.

Jan 10 2009, 10:06 pm Toothfariy Post #13



but while im running the script, i dont want them to be doing that

i want them to just run around randomly



None.

Jan 10 2009, 10:24 pm NudeRaider Post #14

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

The transport AI, once executed affects only the units inside the specified location. They try to enter the nearest transport.
It's like an order. If they are inside you will have to reorder them if you want them to reenter at some later time.
If they couldn't enter for some reason they will go as close to the transport as they can and then are put on stop order.

For the junkyard there's no such thing like cross player behavior. It only runs for the player you checked.
Maybe what you describe has something to do with messing with disabled unit sprites? Try with units instead.




Jan 10 2009, 10:26 pm Toothfariy Post #15



yeah i got it figured out now

i had a perserve on my enter transport script

and i somehow made duplicate trigs for player 7 and 8



None.

Jan 11 2009, 12:59 am Falkoner Post #16



So is that all your problems solved, or are you still having trouble with something? If you wanted to keep sending the AI, you could just use a Death Count Timer to have a pause in between executions of the AI.



None.

Jan 11 2009, 1:05 am Toothfariy Post #17



Quote from Falkoner
So is that all your problems solved, or are you still having trouble with something? If you wanted to keep sending the AI, you could just use a Death Count Timer to have a pause in between executions of the AI.
yeah thats what i was planning on doing



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[06:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[04:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
Please log in to shout.


Members Online: porteredavila