AI in UMS?
Dec 10 2009, 6:48 pm
By: melnikov  

Dec 10 2009, 6:48 pm melnikov Post #1



hi, again me :lol: . i have an array of questions about AI in UMS?
1. could i write my own AI script?
2. could i include and use my own AI Scripts in my maps?
3. is it enought to fire a trigger one time which run Ai Script or this trigger must be fired each time during looping of all triggers?



None.

Dec 10 2009, 6:51 pm Symmetry Post #2

Dungeon Master

1. Yes
2. Not without a mod .exe
3. Don't preserve, only run the action once.



:voy: :jaff: :voy: :jaff:

Dec 10 2009, 8:21 pm Super Duper Post #3



@Sym
For #3, you would need to have the script preserve every 120 seconds. Sometimes the A.I gets buggy and doesnt work correctly (I know this for a fact).

Trigger #1:
Condition:
Switch 1 is set

Action:
Add 1 death for Cave-in
Preserve trig

Trigger #2:
Condition:
Player suffers 60 deaths for cave-in
Run A.I script.
Set deaths of cave-in to 0
Preserve trig

Id do this just to be on the same time. However, this all depends how big a role the A.I plays in your map.

Post has been edited 1 time(s), last time on Dec 10 2009, 9:51 pm by Ciara.



None.

Dec 10 2009, 9:44 pm Symmetry Post #4

Dungeon Master

Quote from name:Ciara
@Sym
For #3, you would need to have the script preserve every 120 seconds. Sometimes the A.I gets buggy and doesnt work correctly (I know this for a fact).

Trigger #1:
Condition:
Switch 1 is set

Action:
Add 1 death for Cave-in
Preserve trig

Trigger #2:
Condition:
Player suffers 60 deaths for cave-in
Run A.I script.

Id do this just to be on the same time. However, this all depends how big a role the A.I plays in your map.

Absolutely 100% completely false. I don't know how you came to this conclusion. The triggers you posted would only run the action once anyway...



:voy: :jaff: :voy: :jaff:

Dec 12 2009, 3:06 am DavidJCobb Post #5



The AI does get buggy and stop working properly on occasion, but re-running the script won't fix anything. Me, if I have a problem with an AI script, I use a different one...

(This coming from the guy who uses Order>Patrol to create attack waves, and only ever uses AI scripts for random things like building nukes at a silo...)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[08:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[08:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[06:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[03:20 pm]
l)ark_ssj9kevin -- le reddit
[02:55 pm]
Moose -- >reddit :rip2:
[02:07 pm]
IskatuMesk -- reddit 💀
[2026-5-30. : 1:31 pm]
l)ark_ssj9kevin -- DarkenedFantasies
DarkenedFantasies shouted: FaRTy1billion Ah, crap! This landing site doesn't have any minerals!
sick refeernce
[2026-5-30. : 10:39 am]
NudeRaider -- Are you frigging kidding me? Such an impactful patch in this economy? https://www.youtube.com/watch?v=fYsP29E-FUs
Please log in to shout.


Members Online: Ultraviolet, Symmetry