I want to make all players in my game respawn as a random hero. As the “respawn as random hero” option doesn’t work for bots, I’ve attempted to instead use an array to force change players upon respawning.
This works for players, however it won’t work for bots at all. I cannot force change them for some reason. Is there a different way to do this or is it just not possible?
That rule only applies to players and dummy bots. If you want bots to respawn as a random hero, you’d have to use dummy bots w/AI instead of the bots added through the “add AI” button.
how do i give the dummy bots AI? Rn they’re just standing still and I can’t get them to move.
they don’t have AI support you need to add it yourself in the workshop, though that’ll take up at least half of the workshop elements.
I believe they might have been talking about the blizzard AI not related to dummy bots and cant be created with the workshop.
(trust me I know this most of my workshop stuff is making AI for them on https://workshop.codes/u/Spiderman31807
)
However as for the Respawn Issue, from my best knowledge while Start Forcing Hero works for dummy bots nothing else will, And whenever they respawn they are set back to whatever hero they were originally created as.
This can be fixed by forcing it again whenever they respawn however they’ll lose most ultimate points (the keep 30% rule kicks in) so if you plan to keep them I would make a variable copy on a certain amount of time after they die then apply it after you force their hero again.
(don’t forgot a “Is In Spawn Room” Condition for it as otherwise they’ll swap hero when resurrected by mercy)
If You Were Already Using ‘Start Forcing Hero’ and the Re-Apply On Respawn doesn’t Work. Just Post the Code or a Code Snippet and i’ll see if i can find the error for you.
(i’ve been using the workshop since release in 2019 and as you can tell by the AI i’ve Made its not my first time working with dummy bots)