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.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: JohnnyTheWolf, Moose