----------------------------------------------------------------------
Code: Select all
GetMapDataPath()
Example Usage:
Code: Select all
path = GetMapDataPath();
function cyclopsGreeting() -- player hears cyclops yelling
MessageBox(path.."cyclopsGreeting.txt");
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "approachToFirstBridgeRgn", nil);
end;
Trigger(REGION_ENTER_AND_STOP_TRIGGER, "approachToFirstBridgeRgn", "cyclopsGreeting")