Create

All My AI That Are For individual Heros Have Unique Rules For There Abilitys And Then The Same Targeting, Pathing, Map Nodes, Etc

After Making The First Individual AI (Soldier: 76) I Took Out The Unique Elements And Turned It Into A Template For All Future Individual AI

Of Course Ive Been Adding To It A Lot, Like The Support For Custom AI Amount However It Has Stayed Mostly The Same

I'm Uploading It So Anyone Who Wants To Try And Make An AI Can Easily Try To

All You Need To Know Is Use "First Of Player Variable TargetOrder"
Not "Player Variable Target
Order" Because Its An Array

And Of Course Use "Player Variable Target_Order" In A "Count Of" To Get How Many Targets There Is


If The Support Your AI Is For Has A Cooldown Simply Add A Skip If
"Insert Condition To Ignore Firendly Targeting" Above The
"Modify Player Variable Targets Filtered Array All Living Player Team Of Event Player Normalised Health Current Array Element < 1"

If The Support AI Can Also Attack You Might Want To Put An If Then Else, Checking For "Count Of Filtered Array Player Variable Target_Order Team Of Event Player != Team Of Current Array Element > 0"
Then
"Modify Player Variable Targets Filtered Array All Living Player Team Of Event Player Normalised Health Current Array Element < (Value Of Health % While In Combat)"
Else
"Modify Player Variable Targets Filtered Array All Living Player Team Of Event Player Normalised Health Current Array Element < 1"


Sources

This post utilizes other codes either in part or in full. This could be because they remixed them, used parts of them, were inspired by them, or other reasons.

Players | 1 - 8
Categories: Tools
Heroes: D.va, Doomfist, Junker Queen, Orisa, Ramattra, and 33 more...
Created at:
Last updated:
Current version: 1.7

Snippet

Loading...

Users Also Like

Similar Codes

Join the Workshop.codes Discord