Inscrit le: 11 Fév 2011 Messages: 2151 Sujets: 114 Spécialité en worldedit: Chasser le Dragon, puis l'exterminer proprement avec une petite cuillère et une poêle.
Posté le: 10/09/11 22:18 Sujet du message: Trigger de Respawn buggé :s
Voilà, cela arrive que notre héros ne respawn pas avec ce trigger. D'où cela peut-il venir ?
Gui:
Trigger:
Respawn Heros
Evénements
Unité - A unit Meurt
Conditions
((Dying unit) is Un héros) Egal à TRUE
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
((Dying unit) belongs to an enemy of (Owner of (Killing unit))) Egal à TRUE
Alors - Actions
Joueur - Add (150 + (5 x (Integer((Real((Hero level of (Dying unit)))))))) to (Owner of (Killing unit)) Or actuel Partie - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( a pwned + ((Name of (Owner of (Dying unit))) + ( pour + ((String((150 + (5 x (Integer((Real((Hero level of (Dying unit)))))))))) + d'or !))))) Joueur - Add -100 to (Owner of (Dying unit)) Or actuel
Sinon - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
(Owner of (Dying unit)) Egal à (Owner of (Killing unit))
Alors - Actions
Partie - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + s'est |cFFFF0000S|r|cFFFF1C00u|r|cFFFF3700i|r|cFFFF5200c|r|cFFFF6E00i|r|cFFFF8A00d|r|cFFFFA500é|r !) Joueur - Add -100 to (Owner of (Dying unit)) Or actuel
Sinon - Actions
Partie - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( a deny + ((Name of (Owner of (Dying unit))) + !)))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1) Set Deaths[(Player number of (Owner of (Dying unit)))] = (Deaths[(Player number of (Owner of (Dying unit)))] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
HF_on_Bol Egal à TRUE
Alors - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
Kills[(Player number of (Owner of (Killing unit)))] Egal à 5
Alors - Actions
Partie - Display to (All players matching ((Matching player) Egal à (Owner of (Killing unit)))) the text: Nouveau Haut-Fait A... Unité - Add HF kills bonus to (Killing unit) Unité - Set level of Objet bonus aux dégâts hf kills for (Killing unit) to 1 Joueur - Désactiver HF kills bonus for (Owner of (Killing unit))
Sinon - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
Kills[(Player number of (Owner of (Killing unit)))] Egal à 10
Alors - Actions
Partie - Display to (All players matching ((Matching player) Egal à (Owner of (Killing unit)))) the text: Nouveau Haut-Fait A... Unité - Set level of Objet bonus aux dégâts hf kills for (Killing unit) to 2
Sinon - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
Kills[(Player number of (Owner of (Killing unit)))] Egal à 20
Alors - Actions
Partie - Display to (All players matching ((Matching player) Egal à (Owner of (Killing unit)))) the text: Nouveau Haut-Fait A... Unité - Set level of Objet bonus aux dégâts hf kills for (Killing unit) to 3
Sinon - Actions
Sinon - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
FR_on_Bol Egal à FALSE
Alors - Actions
Wait (3.00 + (2.00 x (Real((Hero level of (Triggering unit)))))) seconds
Groupe joueur - Pick every player in (All allies of Joueur 1 (Rouge)) and do (Actions)
Boucle - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
(Owner of (Triggering unit)) Egal à (Picked player)
Alors - Actions
Héros - Instantly revive (Triggering unit) at (Center of respawn team 1 <gen>), Montrer revival graphics
Sinon - Actions
Groupe joueur - Pick every player in (All allies of Joueur 7 (Vert)) and do (Actions)
Boucle - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
(Owner of (Triggering unit)) Egal à (Picked player)
Alors - Actions
Héros - Instantly revive (Triggering unit) at (Center of respawn team 2 <gen>), Montrer revival graphics
Sinon - Actions
Caméra - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds Sélection - Select (Triggering unit) for (Owner of (Dying unit))
Sinon - Actions
Wait (2.50 + (1.50 x (Real((Hero level of (Triggering unit)))))) seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
(Owner of (Triggering unit)) Egal à (Picked player)
Alors - Actions
Héros - Instantly revive (Triggering unit) at (Center of respawn team 1 <gen>), Montrer revival graphics
Sinon - Actions
Groupe joueur - Pick every player in (All allies of Joueur 7 (Vert)) and do (Actions)
Boucle - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si - Conditions
(Owner of (Triggering unit)) Egal à (Picked player)
Alors - Actions
Héros - Instantly revive (Triggering unit) at (Center of respawn team 2 <gen>), Montrer revival graphics
Sinon - Actions
Caméra - Pan camera for (Owner of (Triggering unit)) to (Position of (Triggering unit)) over 1.00 seconds Sélection - Select (Triggering unit) for (Owner of (Triggering unit))
Edit : Oubli trouvé : manque une action. _________________
Page 1 sur 1 La question posée dans ce topic a été résolue !
Vous ne pouvez pas poster de nouveaux sujets dans ce forum Vous ne pouvez pas répondre aux sujets dans ce forum Vous ne pouvez pas éditer vos messages dans ce forum Vous ne pouvez pas supprimer vos messages dans ce forum Vous ne pouvez pas voter dans les sondages de ce forum