invalid respawn?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

burpinger
Newcomer
Posts: 6
Joined: January 10th, 2011, 6:30 pm

invalid respawn?

Post by burpinger »

I want to know how to make monsters respawn after getting killed.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: invalid respawn?

Post by owner123 »

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.
burpinger
Newcomer
Posts: 6
Joined: January 10th, 2011, 6:30 pm

Re: invalid respawn?

Post by burpinger »

I'm trying to make a FFA arena, such as Assassins.

And yes, please post em screenies. :D
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: invalid respawn?

Post by owner123 »

Here they are. The three triggers that make this work.
I opened one creep spawn thing per trigger just to show you.
Spoiler:
Image
Image
Image
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: invalid respawn?

Post by haxorico »

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..

Image
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: invalid respawn?

Post by owner123 »

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.
User avatar
haxorico
Super Moderator
Posts: 3196
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: invalid respawn?

Post by haxorico »

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..
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: invalid respawn?

Post by owner123 »

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.
burpinger
Newcomer
Posts: 6
Joined: January 10th, 2011, 6:30 pm

Re: invalid respawn?

Post by burpinger »

I found something else that was easier to make. Thank you anyways. :D

Also, how can you have so many tilesets. (I tried JassNewGen but got some problems).
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: invalid respawn?

Post by owner123 »

Use WEU enhancer.
It lets you add like 30 tiles.
It's in this package.
http://www.wc3c.net/tools/weu/main.html