I have a problem, my map crashes very often, the first situation is where players hero is respawned somewhere, and when i double click his portrait the game crashes. It crashes with no reason too(it looks like this) but i guess that it crashes when a unit in map dies, beacause i have five triggers that are working with "A unit dies". Example:
this can crash the map? or 5 trigger that work on "A unit dies" crash the map? And why it crashes when i duble click the portrait of revieved hero? Pls help.
ps: i have posted the triggers again, thx for advice, but sry for language mistypes in triggers (in my version of warcraft, the WE is half polish half english, especially triggers and i have to translate some things)
-
player cells respawn
-
Events
- Unit - A unit Dies
-
Conditions
- ((Dying unit) is in (Units of type Cell (early))) equals YES
-
Actions
- Wait 2.00 seconds
- Hero - Instantly revive (Dying unit) at (Random point in cell area 1 <gen>), Hide revival graphics
-
Events
-
smaller cells respawn
-
Events
- unit - A unit dies
-
conditions
- ((Dying unit) is in (Units of type Smaller cell)) equals YES
-
actions
- unit- Create 1 (Unit-type of (Dying unit)) for neutral - hostile at (Random point in cell area 1 <gen>) facing defaukt ble ble
-
Events
-
all planets meat
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
- If (((Dying unit) is in (Units of type Cell)) equals YES) then do (Itemt - Create cell parts at (Position of (Dying unit))) else do (Do nothing)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
IF - Conditions
- ((Dying unit) is in (Units of type Cell (early))) equals NO
- ((Dying unit) is in (Units of type Cell (late))) equals NO
- ((Dying unit) is in (Units of type Cell)) equals NO
- ((Dying unit) is in (Units of type Smaller cell)) equals NO
-
then- actions
- item - Create meat at (Position of (Dying unit))
- else - actions
-
IF - Conditions
-
Events
this can crash the map? or 5 trigger that work on "A unit dies" crash the map? And why it crashes when i duble click the portrait of revieved hero? Pls help.
ps: i have posted the triggers again, thx for advice, but sry for language mistypes in triggers (in my version of warcraft, the WE is half polish half english, especially triggers and i have to translate some things)
Last edited: