invalid respawn?
Moderator: Cheaters
-
- Newcomer
- Posts: 6
- Joined: January 10th, 2011, 6:30 pm
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: invalid respawn?
What map?
It's different in every map.
In my map I use this:
There are 2 units - a dummy and a real. The dummy has no model file and 50 mana and locust etc. so it's not visible.
When a real unit dies, it creates a dummy unit of it's type - so if a footman dies, it creates a footman dummy with 50 mana. Then every 1 second of the game it adds 1 mana to every dummy unit on the map. It then checks if there are any dummy units with full mana.
If it finds one, it kills the dummy unit and creates a new real unit. You can set the re-spawn time for different creeps also by using mana.
I can provide screen shots of my trigger and JASS if you really need em.
It's different in every map.
In my map I use this:
There are 2 units - a dummy and a real. The dummy has no model file and 50 mana and locust etc. so it's not visible.
When a real unit dies, it creates a dummy unit of it's type - so if a footman dies, it creates a footman dummy with 50 mana. Then every 1 second of the game it adds 1 mana to every dummy unit on the map. It then checks if there are any dummy units with full mana.
If it finds one, it kills the dummy unit and creates a new real unit. You can set the re-spawn time for different creeps also by using mana.
I can provide screen shots of my trigger and JASS if you really need em.
-
- Newcomer
- Posts: 6
- Joined: January 10th, 2011, 6:30 pm
Re: invalid respawn?
I'm trying to make a FFA arena, such as Assassins.
And yes, please post em screenies.
And yes, please post em screenies.
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: invalid respawn?
Here they are. The three triggers that make this work.
I opened one creep spawn thing per trigger just to show you.
I opened one creep spawn thing per trigger just to show you.
Spoiler:
-
- Super Moderator
- Posts: 3196
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: invalid respawn?
Didn't test... Though this should work... I don't usually mess around with GUI as I am using direct jass, its much better and flexsible... If you want the trigger in jass.. Let me know..
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: invalid respawn?
Thats an instant re-spawn. I don't think thats what he's looking for.
Plus Unit Type of Triggering Unit should be Unit type of Dying Unit. And don't create it at playable map area, create it at Position of Dying Unit.
Waits won't work either - it will be a different Dying Unit by the time the wait is over.
Variables and dummy units are the only ways I think.
Plus Unit Type of Triggering Unit should be Unit type of Dying Unit. And don't create it at playable map area, create it at Position of Dying Unit.
Waits won't work either - it will be a different Dying Unit by the time the wait is over.
Variables and dummy units are the only ways I think.
-
- Super Moderator
- Posts: 3196
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: invalid respawn?
He didn't specify where.. And the dying unit is the unit that triggered it.. So you can use wait as the the unit that caused the trigger to work is the same. You can mess around with it.. Should you wait.. Should it be activated.. I dunno.. It wasn't specified so I just made a general trigger that can be massed around..
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: invalid respawn?
What map can you think of where spawning a unit instantly in the center of the map when one dies would be useful?
Anyways, no. Triggering unit is for different things. I think it offers a tooltip in gray text for what its used for. This is definetley Dying Unit.
Anyways, no. Triggering unit is for different things. I think it offers a tooltip in gray text for what its used for. This is definetley Dying Unit.
-
- Newcomer
- Posts: 6
- Joined: January 10th, 2011, 6:30 pm
Re: invalid respawn?
I found something else that was easier to make. Thank you anyways.
Also, how can you have so many tilesets. (I tried JassNewGen but got some problems).
Also, how can you have so many tilesets. (I tried JassNewGen but got some problems).
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
- Been thanked: 1 time
Re: invalid respawn?
Use WEU enhancer.
It lets you add like 30 tiles.
It's in this package.
http://www.wc3c.net/tools/weu/main.html
It lets you add like 30 tiles.
It's in this package.
http://www.wc3c.net/tools/weu/main.html