I'm developing a work-around for missing doors in nro and sro when my ROF2 client is missing files with LDoN doors.
An NPC sends a player and 5 bots to the adventure zone.
The script connects to peq, queries the instance data, and uses this function:
Code:
quest::MovePCInstance($iInstanceZoneId, $iInstanceId, $fX, $fY, $fZ, $iHeading);
This works just fine so far. The player and bots are ported to the LDoN. The zone is populated with the correct level mobs. But the adventure doesn't "start." The adventure window still shows waiting to enter.
My question: What function or method will start the adventure when the first player enters the zone?