Make a Ai use a custom hero

digifox

New Member
Reaction score
0
I am try to get a ai to use a custom hero and custom ability's i created. I read the Following:

AI - Basics and Triggers
Tutorial By XXXconanXXX

Introduction

This tutorial shows a wide variety of orders and functions, controlling any unit with no control over a player.

Gettings unit to cast custom abilities

There are 3 ways to go about doing this. The first is using the basic GUI functions, and ordering the unit the order string of the spell. Depending on what type of spell your using, if your usin a no target ability like Locust Swarm, or a targetable ability like blink, then you would use one of the three actions, "Unit - Issue Order Targeting a Point", "Unit - Issue Order Targeting a Unit", "Unit - Issue Order With No Target". So for something like Locust Swarm, we would use the action "Issue Order With No Target; Order <Your Unit> to Undead Crypt Lord - Locust Swarm". For abilities like Frost Nova, we would use "Issue Order Targeting a Unit; Order <Your Unit> to Undead Lich - Frost Nova <Your other Unit>". The other way is to order your unit the Raw Code of the ability, by making a dummy trigger with your functions, and using the action "Issue Order Targeting" with any spell in it's place, then converting it to Custom Text. Then, you would go to the Object Editor, hit ctrl + D, find your spell, and copy that code, then paste it where it has the spell in your dummy trigger.

Lastly, you can go to the AI Editor (Module->AI Editor) and create a new dummy AI Script. Then, you can go to the Object Editor, go to File->Export all Object Data", and go back to the AI Editor. There, you go under Custom Data:" and add your Object Data. YOu can remove all checks, all waves, everything else, then go to File->Add to Map and then it will be in your Import Manager. Then, you can go to the Import Manager (Module->Import Manager) and remove the "AI Data". After that, in your Map Initlization rigger, add the action "Run Melee AI Script" and add your new script there. This will order each computer you have that you ran the script for, custom abilities.

But I Don't understand.I am not a total newb at editor but i would like some clear help that others can use as well with out any problems understanding THX:):thup:.
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,578
I guess the answer is not here as nobody ever replied to this. It shows up on the logs so it is still a question that is unanswered! Hate that stuff!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • tom_mai78101 tom_mai78101:
    Starting this upcoming Thursday, I will be in Japan for 10 days.
  • tom_mai78101 tom_mai78101:
    Thursday - Friday will be my Japan arrival flight. 9 days later, on a Sunday, will be my return departure flight.
    +2
  • The Helper The Helper:
    Hope you have safe travels my friend!
    +1
  • vypur85 vypur85:
    Wow spring time in Japan is awesome. Enjoy!
  • The Helper The Helper:
    Hopefully it will be more pleasure than work
  • vypur85 vypur85:
    Recently tried out ChatGPT about WE triggering. Wow it's capable of giving a somewhat legitimate response.
  • The Helper The Helper:
    I am sure it has read all the info on the forums here
  • The Helper The Helper:
    i think triggering is just scripting and chatgpt is real good at code
  • vypur85 vypur85:
    Yeah I suppose so. It's interesting how it can explain in so much detail.
  • vypur85 vypur85:
    But yet it won't work.
  • The Helper The Helper:
    it does a bad ass job doing excel vba code it has leveled me up at my job when I deal with excel that is for sure
  • vypur85 vypur85:
    Nice! I love Excel coding as well. Has always been using Google to help me. Maybe I'll use ChatGPT next time when I need it.
  • The Helper The Helper:
    yeah whatever it puts out even if it is not perfect I can fix it and the latest version of chatgpt can create websites from pictures it will not be long until it can do that with almost all the tools
    +1
  • The Helper The Helper:
    These new Chat AI programs are going to change everything everyone better Buckle the Fuck Up!
  • The Helper The Helper:
    oh and Happy Tuesday Evening! :)
    +1
  • jonas jonas:
    Im worried they'll change things for worse
  • jonas jonas:
    A lot more low quality content, a lot more half-baked stuff.
  • jonas jonas:
    If you're good enough to spot the mistakes of the answers you don't need it in the first place. If you aren't good enough, you're gonna rely on some half-correct stuff
  • The Helper The Helper:
    the earlier AI is and has been used extensively for publishing news and other content for a while now
  • jonas jonas:
    I used to be active on quora, it's now flooded with extremely similar, superficial answers that often miss the point of the question
  • N NJJ:
    hi
  • N NJJ:
    Hello, gathering all my old accounts… :)
    +1
  • The Helper The Helper:
    by all means gather it all up!

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top