- Joined
- Nov 24, 2007
- Messages
- 543
So I've been trying to create this system for the better part of two days with little luck.
I'll try to explain as best as I can. The system has to replace the dead units with a day/night cycle. lets say player 2 is night time units and player 3 is day time units.
Now night comes, (18:00) all day units are removed/killed via triggers and all the night units appear or are created if killed. Same goes for day (6:00) night units are removed and day units resurrected /respawned.
My requirements for this system are:
-At the start of the game. All of players 2(night units) and all of player 3(day units) units(they are on the map already) get their position/unit types fixed (they have to respawn at those positions come dusk and dawn).
- If killed they have to remain dead until their time comes (Day for day units and night for night units) when that time comes they respawn.
Now the problems that I ran into are if the units corpse disappears(raise dead/cannibalize/decays on its own) the game can't find where it was and doesn't create it(Increasing bone decay to 360s causes glitches). Same goes for the units type.
SIDE NOTE: needs to be GUI as I can't edit JASS. The creator will the given special thanks in the campaign and +rep ofc. Good luck!
I'll try to explain as best as I can. The system has to replace the dead units with a day/night cycle. lets say player 2 is night time units and player 3 is day time units.
Now night comes, (18:00) all day units are removed/killed via triggers and all the night units appear or are created if killed. Same goes for day (6:00) night units are removed and day units resurrected /respawned.
My requirements for this system are:
-At the start of the game. All of players 2(night units) and all of player 3(day units) units(they are on the map already) get their position/unit types fixed (they have to respawn at those positions come dusk and dawn).
- If killed they have to remain dead until their time comes (Day for day units and night for night units) when that time comes they respawn.
Now the problems that I ran into are if the units corpse disappears(raise dead/cannibalize/decays on its own) the game can't find where it was and doesn't create it(Increasing bone decay to 360s causes glitches). Same goes for the units type.
SIDE NOTE: needs to be GUI as I can't edit JASS. The creator will the given special thanks in the campaign and +rep ofc. Good luck!