Hi, my brother and me are creating maps, using triggers in GUI (we don't understand JASS at the moment
).
While testing my brother's map, his warcraft 3 stops without any error message. It is always at the same place, where a trigger like this is used :
As i have many triggers i don't know which one could crash the game.
I use about 4-5 triggers using 0.01 sec Events, like this :
So here is my question : what can makes the game crash ?
Is there a maximum of value that warcraft 3 can calculate by an amount of time ? Or should we have to creat in JASS in order to avoid crashs ?
I saw a topic with a question near mine but i didn't see answer to my problem...
Thank you, and sorry for my bad level in english
Exum
While testing my brother's map, his warcraft 3 stops without any error message. It is always at the same place, where a trigger like this is used :
-
Déclencheur sans titre 003
-
Evénements
-
Unit - Phoenix from 0025 <gen> Takes damages
-
-
Conditions
-
((Attacking unit) has buff Soins) Egal à TRUE
-
-
Actions
-
Unit - Set life of (Attacked unit) to ((Vie of (Attacked unit)) + (0.50 x (Damage taken)))
-
-
As i have many triggers i don't know which one could crash the game.
I use about 4-5 triggers using 0.01 sec Events, like this :
-
Evénements
-
Temps - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to 12, do (Actions)
-
Boucle - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si - Conditions
-
PhoenixForm[(Integer A)] Egal à TRUE
-
-
Alors - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Si - Conditions
-
(Distance between (Position of Phoenix[(Integer A)]) and PointPhoenixFlyght[(Integer A)]) Supérieur ou egal à 5.00
-
-
Alors - Actions
-
Unit - Move Phoenix[(Integer A)] instantly to ((Position of Phoenix[(Integer A)]) offset by 8.00 towards (Angle from (Position of Phoenix[(Integer A)]) to PointPhoenixFlyght[(Integer A)]) degrees)
-
-
Sinon - Actions
-
Animation - Reset Phoenix[(Integer A)]'s animation
-
Animation - Change Phoenix[(Integer A)]'s animation speed to 100.00% of its original speed
-
Set PhoenixForm[(Integer A)] = FALSE
-
Unit - Move Heroes[(Integer A)] instantly to PointPhoenixFlyght[(Integer A)]
-
Unit - Unhide Heroes[(Integer A)]
-
Unit - Make Heroes[(Integer A)] Vulnérable
-
Unit - Hide Phoenix[(Integer A)]
-
Unit - Move Phoenix[(Integer A)] instantly to (Random point in Hide phoenixs <gen>)
-
Selection - Select Heroes[(Integer A)] for (Player((Integer A)))
-
-
-
-
Sinon - Actions
-
-
-
-
-
Fire nova
-
Evénements
-
Unit - A unit Initie l'effet d'une compétence
-
-
Conditions
-
(Ability being cast) Egal à Fire nova
-
-
Actions
-
For each (Integer A) from 1 to 24, do (Actions)
-
Boucle - Actions
-
Unit - Create 1 Fire bolt for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (15.00 x (Real((Integer A)))) degrees
-
-
-
-
So here is my question : what can makes the game crash ?
Is there a maximum of value that warcraft 3 can calculate by an amount of time ? Or should we have to creat in JASS in order to avoid crashs ?
I saw a topic with a question near mine but i didn't see answer to my problem...
Thank you, and sorry for my bad level in english
Exum