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=93518ff6266bc81189bab7d5331937ecMé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

Ce n'est vraiment pas fait pour moi le Jass!
Aller à la page Précédente  1, 2
 
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
 Sapeur-Goblin
Floodeur prématuré


Inscrit le: 14 Oct 2009
Messages: 719
Sujets: 40
Spécialité en worldedit: Les bugs
Médailles: 1 (En savoir plus...)
Créateur d'unité (Quantité : 1)

MessagePosté le: 25/01/10 19:14    Sujet du message: Citer

Euh, je l'ai supprimé après plusieurs tests mais je vais te le refaire à l'indentique.

Bon bin maintenent ça ne supprim plus l'unité Crying or Very sad mais le début de sort ressemblait à ça:
Gui:
Trigger:
Charge
Collapse Evénements
Unité - A unit Initie l'effet d'une compétence
Collapse Conditions
((Ability being cast) Egal à  |cffffcc00C|r|cffffcc55arge|r ) and ((Unit-type of (Triggering unit)) Egal à  (Unit-type of (Triggering unit)))
Collapse Actions
Custom script:   local unit udg_LocalSortsUnit
Custom script:   local location udg_LocalSortsPoint
Set LocalSortsUnit = (Triggering unit)
Animation - Play (Target unit of ability being cast)'s death animation
Collapse For each (Integer A) from 1 to 256, do (Actions)
Collapse Boucle - Actions
Set LocalSortsPoint = (LocalSortsPoint offset by 1.00 towards 0.00 degrees)
Unité - Move (Target unit of ability being cast) instantly to LocalSortsPoint
Custom script:   call RemoveLocation(udg_LocalSortsPoint)
Wait 0.01 game-time seconds

_________________


Dernière édition par Sapeur-Goblin le 27/01/10 18:01; édité 1 fois
Revenir en haut
Voir le profil de l'utilisateur Envoyer un message privé
 Sapeur-Goblin
Floodeur prématuré


Inscrit le: 14 Oct 2009
Messages: 719
Sujets: 40
Spécialité en worldedit: Les bugs
Médailles: 1 (En savoir plus...)
Créateur d'unité (Quantité : 1)

MessagePosté le: 27/01/10 18:00    Sujet du message: Citer

Bon voilà j'ai donc fait mes déclos et il y a toujours un problème:
Secret:

Gui:
Trigger:
Feu stellaire
Collapse Evénements
Unité - A unit Initie l'effet d'une compétence
Collapse Conditions
((Ability being cast) Egal à  |cffffcc00F|r|cffffcc55eu stellaire|r ) and ((Unit-type of (Triggering unit)) Egal à  (Unit-type of (Triggering unit)))
Collapse Actions
Custom script:   local unit udg_LocalSortsUnit
Custom script:   local location udg_LocalSortsPoint
Set LocalSortsUnit = (Target unit of ability being cast)
Set LocalSortsPoint = (Position of LocalSortsUnit)
Effet spécial - Create a special effect at LocalSortsPoint using AbilitiesSpellsItemsAIreAIreTarget.mdl
Set LocalSortsEffet = (Last created special effect)
Effet spécial - Destroy LocalSortsEffet
Custom script:   call RemoveLocation( udg_LocalSortsPoint)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  1) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 15.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  2) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 30.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  3) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 60.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  4) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 120.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  5) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 200.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  6) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 300.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  7) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 375.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  8) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 450.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  9) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 520.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  10) then do (Unité - Cause (Triggering unit) to damage LocalSortsUnit, dealing 600.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
Collapse For each (Integer A) from 1 to 4, do (Actions)
Collapse Boucle - Actions
Wait 3.00 game-time seconds
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse Si - Conditions
And - All (Conditions) are true
Collapse Conditions
(LocalSortsUnit is alive) Egal à  FALSE
Collapse Alors - Actions
Partie - Display to (All players) the text: AAAAAAAAAAAAAAAAAAA...
Set LocalSortsPoint = (Position of LocalSortsUnit)
Effet spécial - Create a special effect at LocalSortsPoint using AbilitiesSpellsItemsAIreAIreTarget.mdl
Set LocalSortsEffet = (Last created special effect)
Effet spécial - Destroy LocalSortsEffet
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  1) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 20.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  2) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 40.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  3) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 80.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  4) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 160.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  5) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 240.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  6) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 380.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  7) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 450.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  8) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 510.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  9) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 565.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
If ((Level of |cffffcc00F|r|cffffcc55eu stellaire|r  for (Triggering unit)) Egal à  10) then do (Unité - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 512.00 at LocalSortsPoint, dealing 640.00 damage of attack type Sorts and damage type Normal) else do (Do nothing)
Custom script:   call RemoveLocation( udg_LocalSortsPoint)
Collapse Sinon - Actions



Les actions à la fin qui infligent des dommages aux unités adjacentes tuent les unités alliées au joueur qui a envoyé le sort. La meilleure solution est de mettre un pick unit puis d'infliger des dégats au picked units?
_________________
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
Aller à la page Précédente  1, 2
Page 2 sur 2
La question posée dans ce topic a été résolue !

 
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