Hi, I thought, I would have created a simple Hero selection and it worked in Singlepalyer, but then I tested it with a friend an he always got disconnected when I chose a hero.
Can someone explain me, why he always gets disconnected, and what I have to change to solve the problem?
(One hero can not be chosen twice.)
Trigger:
Edit: @ picture "Held wählen" = "Choose Hero"
Can someone explain me, why he always gets disconnected, and what I have to change to solve the problem?
(One hero can not be chosen twice.)
Trigger:
-
Held
-
Events
- Unit - A unit Begins casting an ability
-
Conditions
- (Ability being cast) Equal to Choose Hero
-
Actions
- Unit - Create 1 (Unit-type of (Target unit of ability being cast)) for (Owner of (Casting unit)) at (Center of Held Spawn <gen>) facing Default building facing degrees
- Camera - Pan camera as necessary for (Owner of (Casting unit)) to (Center of Hero Spawn <gen>) over 0.00 seconds
- Unit - Remove (Target unit of ability being cast) from the game
- Unit - Remove (Casting unit) from the game
-
Events
Edit: @ picture "Held wählen" = "Choose Hero"