Skip to content

Scripts for beginners.

User Avatar
#290
Auto-translated
Hello everyone,
I'm new here, and I'd like to create maps with scripts.
Why am I writing here?
Because the script isn't working for some reason.
Here's the script:

function MakeHeroes()
DeployReserveHero("Itil", 127, 74, 0);
ChangeHeroStat("Itil", 0, 90000);
end;

Trigger(REGION_ENTER_AND_STOP_TRIGGER, "geroy", "MakeHeroes");

I just want a hero to spawn when I stand in a specific area.
I hope to get an answer.)
Damn, I hope I posted in the right topic.