Script Question

Maps and the art of mapmaking.
Yuukimaru
Leprechaun
Leprechaun
Posts: 4
Joined: 08 Jul 2010

Script Question

Unread postby Yuukimaru » 08 Jul 2010, 03:56

I'm trying to get a script that will respawn a hero after he's defeated just a few tiles from his town? I'm pretty new to RMG and the scripting but I've done it some in other games.

User avatar
Mirez
Moderator
Moderator
Posts: 1512
Joined: 28 Aug 2006
Location: in the core of the hart of the centre of everything

Unread postby Mirez » 08 Jul 2010, 07:50

moved, your question is more likely to be answered here
treants are dendrosexual 0_o

Yuukimaru
Leprechaun
Leprechaun
Posts: 4
Joined: 08 Jul 2010

Unread postby Yuukimaru » 08 Jul 2010, 17:21

is it not possible?

User avatar
GreatEmerald
CH Staff
CH Staff
Posts: 3330
Joined: 24 Jul 2009
Location: Netherlands

Unread postby GreatEmerald » 08 Jul 2010, 18:29

What game are you talking about?

Yuukimaru
Leprechaun
Leprechaun
Posts: 4
Joined: 08 Jul 2010

Unread postby Yuukimaru » 08 Jul 2010, 18:33

HoMM V ToE

Franzy
War Dancer
War Dancer
Posts: 362
Joined: 07 Sep 2007
Location: Moscow, Russia
Contact:

Unread postby Franzy » 12 Jul 2010, 03:51

It is possible. But only if it is a certain hero, not the one player can choose when generating map.

Remember how they made Nicolay the lich to get back from death every time in the original camapaign?

See DeployReserveHero function for the reference.


Return to “Mapmaking Guild”

Who is online

Users browsing this forum: No registered users and 1 guest