Worldedit
  Worldedit
Le site sur l'éditeur de warcraft 3 !
 
  FAQFAQ   RechercherRechercher   Liste des MembresListe des Membres    Groupes d'utilisateursGroupes d'utilisateurs   medals.php?sid=9c4675938952abdcebeaa76c5ae5586dMédailles   S'enregistrerS'enregistrer 
 ProfilProfil   Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés   ConnexionConnexion 
  FAQFAQ World Editor   UploadUploader une map ou une image    UploadAjouter sa map à l'annuaire   UploadConsulter l'annuaire

Sort - Utilisation de Variables deploiement

 
Poster un nouveau sujet   Répondre au sujet    Worldedit Index du Forum -> Aide sur les déclencheurs
Voir le sujet précédent :: Voir le sujet suivant  
Auteur Message
 Samcai
Membre actif


Inscrit le: 22 Aoû 2007
Messages: 117
Sujets: 8



MessagePosté le: 22/10/07 12:02    Sujet du message: Sort - Utilisation de Variables deploiement Citer

Alors voila le sort d'un de mes heros. Je n'arrive pas a comprendre pourquoi il ne fonctionne pas correctement.
Il semblerait que ce soit relatif a la variable qui "compte" le nombre d'unite invoque encore en vie. Je pense que le probleme se situe dans le declancheur qui retire 1 lorsqu un squelette meurt.
C'est fort possible que ca vienne de mon utilisation des variables deploiements vu que je ne les ai pas encore vraiment utilisee.

Gui:
Trigger:
NECROSkeletons
Collapse Evénements
Unité - A unit Commence le lancement d'une compétence
Collapse Conditions
(Ability being cast) Egal à  NECRO Raise Dead
Collapse Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlevel[(Custom value of (Triggering unit))] Egal à  1
Collapse Alors - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlimit[(Custom value of (Triggering unit))] Inférieur à  2
Collapse Alors - Actions
Unité - Cause (Triggering unit) to damage (Triggering unit), dealing 70.00 damage of attack type Sorts and damage type Frappe des ténèbres
Effet spécial - Create a special effect attached to the overhead of (Triggering unit) using ObjectsSpawnmodelsHumanHumanLargeDeathExplodeHumanLargeDeathExplode.mdl
Set NECRO_SKEL_EFFECT[0] = (Last created special effect)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
((Triggering unit) is alive) Egal à  TRUE
Collapse Alors - Actions
Unité - Create 1 Skeleton (Necro Level 1) for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Orientation bâtiment par défaut degrees
Unité - Set the custom value of (Last created unit) to (Player number of (Triggering player))
Set sortSKELETONlimit[(Custom value of (Triggering unit))] = (sortSKELETONlimit[(Custom value of (Triggering unit))] + 1)
Collapse Sinon - Actions
Do nothing
Wait 1.00 game-time seconds
Effet spécial - Destroy NECRO_SKEL_EFFECT[0]
Collapse Sinon - Actions
Partie - Display to (All players matching ((Owner of (Triggering unit)) Egal à  (Triggering player))) the text: To much Skeletons a...
Collapse Sinon - Actions
Do nothing
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlevel[(Custom value of (Triggering unit))] Egal à  2
Collapse Alors - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlimit[(Custom value of (Triggering unit))] Inférieur à  3
Collapse Alors - Actions
Unité - Cause (Triggering unit) to damage (Triggering unit), dealing 85.00 damage of attack type Sorts and damage type Frappe des ténèbres
Effet spécial - Create a special effect attached to the overhead of (Triggering unit) using ObjectsSpawnmodelsHumanHumanLargeDeathExplodeHumanLargeDeathExplode.mdl
Set NECRO_SKEL_EFFECT[0] = (Last created special effect)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
((Triggering unit) is alive) Egal à  TRUE
Collapse Alors - Actions
Unité - Create 1 Skeleton (Necro Level 2) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Orientation bâtiment par défaut degrees
Unité - Set the custom value of (Last created unit) to (Player number of (Triggering player))
Set sortSKELETONlimit[(Custom value of (Triggering unit))] = (sortSKELETONlimit[(Custom value of (Triggering unit))] + 1)
Collapse Sinon - Actions
Do nothing
Wait 1.00 game-time seconds
Effet spécial - Destroy NECRO_SKEL_EFFECT[0]
Collapse Sinon - Actions
Partie - Display to (All players matching ((Owner of (Triggering unit)) Egal à  (Triggering player))) the text: To much Skeletons a...
Collapse Sinon - Actions
Do nothing
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlevel[(Custom value of (Triggering unit))] Egal à  3
Collapse Alors - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
sortSKELETONlimit[(Custom value of (Triggering unit))] Inférieur à  4
Collapse Alors - Actions
Unité - Cause (Triggering unit) to damage (Triggering unit), dealing 100.00 damage of attack type Sorts and damage type Frappe des ténèbres
Effet spécial - Create a special effect attached to the overhead of (Triggering unit) using ObjectsSpawnmodelsHumanHumanLargeDeathExplodeHumanLargeDeathExplode.mdl
Set NECRO_SKEL_EFFECT[0] = (Last created special effect)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
((Triggering unit) is alive) Egal à  TRUE
Collapse Alors - Actions
Unité - Create 1 Skeleton (Necro Level 3) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Orientation bâtiment par défaut degrees
Unité - Set the custom value of (Last created unit) to (Player number of (Triggering player))
Set sortSKELETONlimit[(Custom value of (Triggering unit))] = (sortSKELETONlimit[(Custom value of (Triggering unit))] + 1)
Collapse Sinon - Actions
Do nothing
Wait 1.00 game-time seconds
Effet spécial - Destroy NECRO_SKEL_EFFECT[0]
Collapse Sinon - Actions
Partie - Display to (All players matching ((Owner of (Triggering unit)) Egal à  (Triggering player))) the text: To much Skeletons a...
Collapse Sinon - Actions
Do nothing


Gui:
Trigger:
NECROSkeletonLimit
Collapse Evénements
Unité - A unit Meurt
Collapse Conditions
(Unit-type of (Triggering unit)) Egal à  Skeleton (Necro Level 1)
(Unit-type of (Triggering unit)) Egal à  Skeleton (Necro Level 2)
(Unit-type of (Triggering unit)) Egal à  Skeleton (Necro Level 3)
Collapse Actions
Set sortSKELETONlimit[(Custom value of (Triggering unit))] = (sortSKELETONlimit[(Custom value of (Triggering unit))] - 1)


Gui:
Trigger:
NECROSkeletonLearn
Collapse Evénements
Unité - A unit Apprend une compétence
Collapse Conditions
(Learned Hero Skill) Egal à  NECRO Raise Dead
Collapse Actions
Set sortSKELETONlevel[(Custom value of (Triggering unit))] = (sortSKELETONlevel[(Custom value of (Triggering unit))] + 1)

_________________
Revenir en haut
Voir le profil de l'utilisateur Envoyer un message privé
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    Worldedit Index du Forum -> Aide sur les déclencheurs Toutes les heures sont au format GMT + 1 Heure
Page 1 sur 1

 
Sauter vers:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com