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.
[02:14 am]
Oh_Man -- pluto vs pro gamer snow: https://youtu.be/NOXXpATkdZU
[2026-9-25. : 2:22 pm]
Oh_Man -- https://youtu.be/Lfo4C0xzU04
[2026-9-25. : 12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[2026-9-24. : 11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[2026-9-24. : 10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[2026-9-24. : 8:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
Please log in to shout.


Members Online: Moose