Hey guys.
I'm making a mission here in which you start off on a spawned Khe Sanh (courtesy of Armatech's script) and I'm trying to figure out how to make the doors to the briefing room open like they are in the first mission of the campaign. I've modified Armatech's script so that the carrier is named KheSanh instead of _dummy.
Now, I un-pbo'd the mission files and found this in the scripts of the first campaign mission:
waitUntil {!(isnil "rANIMATE")};
_nic = [objNull, objNull, "per", rANIMATE, (nearestObject [BIS_briefingRoom, "staticShip"]), "dveremale", 0] call RE;
_nic = [objNull, objNull, "per", rANIMATE, (nearestObject [BIS_briefingRoom, "staticShip"]), "dverevelkeL", 1] call RE;
_nic = [objNull, objNull, "per", rANIMATE, (nearestObject [BIS_briefingRoom, "staticShip"]), "dverevelkeR", 1] call RE;
And I can only imagine that's what they used to open the doors of the ship on Utes. However, this is a spawned one with a different name. I've tried replacing "staticShip" with "KheSanh", but that doesn't work. I also tried changing BIS_briefingRoom to aP (player's classname) but again, nothing happens.
If anyone can give me an idea of how to get this to work, it'd be greatly appreciate.