How to revive in a specfific spot?

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

How to revive in a specfific spot?

Post by Kala-cha »

Hey, how do I revive in a specific spot, like when my hero is dead, what do I do? :

Events :
Player - Player 1 (Red) types a chat message containing -Revive as An exact match

Conditons : None

Actions : Hero - Instantly revive (Revivable Hero) at (Center of Team One Respawn <gen>), Hide revival graphics

How do I get this working?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Well, you gotta make sure it knows which hero to revive, you didn't specify, this will work

Change center of playable map area to a location or a region if you want

GUI Text:

Player - Player 1 (Red) types a chat message containing -revive as An exact match


Unit Group - Pick every unit in (Units in (Playable map area) owned by (Triggering player)) and do (Hero - Instantly revive (Picked unit) at (Center of (Playable map area)), Hide revival graphics)
Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

Post by Kala-cha »

Thanks, I'll try that, it's for a debug in my map, sometimes you don't revive lol.
(Edit) I don't understand how "picked unit" works, could you tell me what it does and means?
(Edit2) Works perfectly, thanks dude.
(Edit3) This isn't anything to do with the question before, but, how do I put a name spoofer in, this is what I did :

Events :
Player - Player 1-12 (Anyone, it's 12 events) types a chat message containing -Name as A substring

Conditions :

Actions : Player - Set name of (Triggering player) to (Matched chat string)

How do I make this work?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Events :
Player - Player 1-12 (Anyone, it's 12 events) types a chat message containing -Name as A substring

Conditions :

Actions : Player - Set name of (Triggering player) to (Entered Chat String)

But that will give you a name of -name xxxxxxx, so, lets not do that,

Actions: Player - set name of (triggering player) to (Substring, (entered chat string, 7, 500)))

sorry I typed that out, let me know if you need help with it.

Picked unit answers if you need I'll give later, heading off to bed soon.
Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

Post by Kala-cha »

Thanks again Xantan!
(Edit) Another question, (hopefully the last), is there anyway to detect the host ingame?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Kala-cha wrote:Thanks again Xantan!
(Edit) Another question, (hopefully the last), is there anyway to detect the host ingame?
Not sure, ask aero or someone else for now, I'll look into this too... =/
Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

Post by Kala-cha »

Alright, thanks again.
User avatar
Dekar
Forum Drunk
Posts: 2899
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Post by Dekar »

yes there is... i wrote it in german to the maker of battleships, cause he
wanted to know this too.
he promised me to write a nice tutorial how to do this in this forum, i wonder
when... O.o

greets Dekar
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

Post by Kala-cha »

I wish he would do it sometime -_- lol.

How would I do repick?

Events : Player - Anyone (12 Events) types a chat message containing -Repick as An exact match

Conditions : err, I don't know how to do this, I don't want them to have a hero picker in a specific region.

Actions : How do I do this?

(Edit) And I don't want their bank box to get removed from the game.
(Edit2) You know the -revive command? Well, sometimes it doesn't work in certain condtitions and sometimes it does. I want it to revive anytime at all. How would I do this?