Skip to content
#2151
Auto-translated
OrnsteinDragonslayer
Hey guys, I need some help. I started learning scripts, following the manual. I did everything as described, but it doesn't work. Here's the script:
function kamillaF (heroname)
(paragraph)MessageBox("Maps/SingleMissions/MyMapforVani4/Spasi.txt");
(paragraph)Trigger(REGION_AND_STOP_TRIGGER, "test", nil);
end;

Trigger(REGION_AND_STOP_TRIGGER, "test", "kamillaF";

That's it. I'm writing from my phone because I don't have internet on my PC right now. There are definitely no typos. I hope you can help.

Well, for starters, it's not REGION_AND_STOP_TRIGGER, but REGION_ENTER_AND_STOP_TRIGGER.

Add ENTER, and it should work.

Statistics

Welcome our newest member: dodoD0D0

Users Online 0 users 1441 guests

The tavern is quiet... be the first to arrive!