Missions Object problem

Maps and the art of mapmaking.
NinhKidd
Leprechaun
Leprechaun
Posts: 4
Joined: 18 Nov 2010

Missions Object problem

Unread postby NinhKidd » 18 Nov 2010, 17:52

When i made a custom map, i got this problem

One of my Primary Object is kill the AI Hero. Well, u can just say that's so easy with Type Object DEFEAT_HERO, but problem is the hero is a Reserve Hero (Deploy in DAY==36).

So if i choose DEFEAT_HERO object type and declare hero name --> the map can't start. Pls help me!! Thank u so much

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

Unread postby GreatEmerald » 18 Nov 2010, 18:02

Which game?

NinhKidd
Leprechaun
Leprechaun
Posts: 4
Joined: 18 Nov 2010

Unread postby NinhKidd » 18 Nov 2010, 18:04

Sorry, HV ToTe 3.1!

NinhKidd
Leprechaun
Leprechaun
Posts: 4
Joined: 18 Nov 2010

Unread postby NinhKidd » 19 Nov 2010, 07:08

Should anybody help me ?! So upset :((

I still couldn't solve this prob

I try to change object to KIND_MANUAL and use the script:

function Win(heroname)
if heroname == "Christian" then
Win(PLAYER_1);
end;
end;
Trigger(PLAYER_REMOVE_HERO_TRIGGER, PLAYER_2, "Win");

But nothing happen . Oh, holy shEEp *_*
____________

NinhKidd
Leprechaun
Leprechaun
Posts: 4
Joined: 18 Nov 2010

Unread postby NinhKidd » 19 Nov 2010, 08:26

Well, no answer, and i find out the answer myself.

I set the objecttive is not InstantlyACtive and use script to set the activation when the Reserve Hero is appear. Maybe it useful for anyone get the same problem

meows
Peasant
Peasant
Posts: 75
Joined: 11 Oct 2006

Unread postby meows » 15 Oct 2011, 19:15

Did you delete the script then move a object on the map, then save and run the game to see if it is your script OR another bug in the game.


Return to “Mapmaking Guild”

Who is online

Users browsing this forum: No registered users and 6 guests