And you have something like the following in the editable property?
Code: Select all
<skills/>
<perkIDs/>
Code: Select all
<skills/>
<perkIDs/>
--Message3 (Monster Message)
function Message3(Nicholai,Monster1)
MessageBox("Maps/SingleMissions/asdf/Message3.txt");
SetObjectEnabled("Monster1",not nil);
MakeHeroInteractWithObject(Nicholai,Monster1);
end;
Trigger(OBJECT_TOUCH_TRIGGER, "Monster1","Nicholai")
Code: Select all
--Message3 (Monster Message)
function Message3(Hero, Monster)
if Hero == "Nicholai" then
MessageBox(GetMapDataPath().."Message3.txt")
SetObjectEnabled(Monster, not nil)
MakeHeroInteractWithObject(Hero, Monster)
end
end
Trigger(OBJECT_TOUCH_TRIGGER, "Monster1","Message3")
I want to add a message to it as well, but I just want to get the basic ambush working first. Nicholai is the HeroName, just so you know.function Ambush1()
StartCombat(Nicholai,nil,3,92,3,92,3,92,3);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "Ambush1","Ambush1")
Not if you create a new file specific to your map that you'll use in the Shared property.John.Galt wrote:Modifying the shared properties will mess up the entire game though, no? :-/
Users browsing this forum: No registered users and 1 guest