I wonder if anyone could help me,im in the process of making a rpg based on the diablo world and i would lkie to know how to make it so that if a player's name is something, an event happens. Sort of like this...
Tester Events Unit - A unit enters Region 007 <gen> Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions And - All (Conditions) are true Conditions (Name of (Triggering player)) Equal to Chao-K.O- (Unit-type of (Triggering unit)) Equal to Hero Chooser Then - Actions Unit - Remove (Triggering unit) from the game Unit - Create 1 Gryphon Rider for (Triggering player) at (Center of (Playable map area)) facing Default building facing degrees Else - Actions Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: |c00C5C3C6Im sorry ...
Thats the triggering that i used but it doesnt work but i dont see why. Can someone clear this up for me.
ChaoticalismI wonder if anyone could help me,im in the process of making a rpg based on the diablo world and i would lkie to know how to make it so that if a player's name is something, an event happens. Sort of like this...
Tester Events Unit - A unit enters Region 007 <gen> Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions And - All (Conditions) are true Conditions (Name of (Triggering player)) Equal to Chao-K.O- (Unit-type of (Triggering unit)) Equal to Hero Chooser Then - Actions Unit - Remove (Triggering unit) from the game Unit - Create 1 Gryphon Rider for (Triggering player) at (Center of (Playable map area)) facing Default building facing degrees Else - Actions Game - Display to (All players matching ((Owner of (Triggering unit)) Equal to (Matching player))) the text: |c00C5C3C6Im sorry ...
There's no triggering player, so use (owner of (entering unit)). And yeah, you should replace all (triggering unit) with (entering unit), it's more specific.