Auto-translated
Dude... what are you suggesting? 0_o I already said how it should be done...
In your case, if the hero is indeed Nemor (colloquially, Deidra), the script will look like this:
PlayerHero = "Nemor"
function kamillaF(hero)
if hero == PlayerHero then
MessageBox ( "/Maps/SingleMissions/Island_Triads/text1.txt" );
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "kamilla", nil );
end;
end;
Trigger( REGION_ENTER_AND_STOP_TRIGGER, "kamilla", "kamillaF" );
Let me explain. PlayerHero is a variable created for convenience... at least that's how it seems to me and Nival. You can also simply write:
if hero == "Nemor" then
Or you can write anything in Latin instead of PlayerHero.