AI script

  • Thread starter Thread starter Gestur
  • Start date Start date
G

Gestur

Guest
I´m working on my first map now, which makes me a noob. Anyhow, I can´t seem to get the "Run AI script" to work. I have the condition Always and action as "enter the closet bunker" at the right location, but the AI doesnt move a finger. What am I doing wrong?
 
Make sure the player who owns the trigger is a computer.
 
Hi, I'm also a noob map maker, so I put my question here. I want the cpu to start running and killing the human player, but don't know how ! Can anyone help me...
 
Do new trigger: set the player checkbox to the computer player

set the condition to always (this means it will either run continuously or once at the start of the map)

add an action that says run ai script at location, and choose and ai script and set the region to 'anywhere'.

hope this helped
 
If it's just a spawn and defend map, you can do this

Execute for (computer) player
Conditions
-Always
Triggers
-Order all any unit owned by Player (computer) at 'anywhere' to 'attack' to '(whatever location you have set at the human player)'
-Preserve Trigger(only if you want them to attack all the time)

Hope this helps, but if you want a more intelligent computer, say so and I'll work on it.
 
First off, it doesnt need to be a comp player. People do it all the time with human players. Second, make sure the owner of the trigger and the bunker-owning player match up. Not sure if it makes a dif with this script, but who knows. Also, the way the script works in relation to entering a bunk is that it doesnt tell the bunker to make rines come; it tells rines to head to the nearest bunk. So put the location over the rines, not the bunk.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top