Hi there,
when i use the action kill -> all players in slot[0] (Ongoing global)
the action works if a bot is in this slot but not when a player is.
any ideas ?
thanks
edit: looks like the action start forcing player to be hero is the problem. Don’t know how to work around it though
I cant tell whats the issue. You might share your code so I/we could take a look into it.
what is the best way to share code ? the project code ? or is there a way to copy the rule code ?
btw i fixed the issue by stopping forced hero 5 seconds prior. But its kinda ugly.
I meant the “share code” feature of workshop, next to the import code button.
code: HDJR9
Problematic rule is start round 2. It currently triggers on t==5 and works but if i trigger it sooner it doesn’t.
Ah I see where the issue is. The start forcing player to be hero action actually respawns players if they are not on the hero that is being forced. And after a “respawn” action is executed on a player you usually need a short wait() action before you do anything with him, as the reloading of the player needs a little time.
So you might try to insert some wait() actions between the spawn/resurrect and kill actions.
Btw it works on bots because the start forcing player to be hero action doesnt work on bots.
And you dont need to use compare(global variable(T), ==, 5) == true. Simply global variable(T) == 5 works fine.
thanks, i actually thought so too, but i tried using only force hero without the resurrection and they actually did not resurrect 
Hmm ok I need to admit I still have not figured out to 100% how forcing player to be hero works. It has some weird interactions imo. You might try to insert wait() actions anyway.