Battledale_PRC8/_module/nss/jw_ma_portal_use.nss

16 lines
231 B
Plaintext
Raw Normal View History

void main()
{
object oObject=GetLastUsedBy();
location locNew=GetLocation(GetWaypointByTag("jw_machine_sp_wp2"));
if (GetIsObjectValid(oObject)&&GetIsPC(oObject))
{
AssignCommand(oObject,JumpToLocation(locNew));
}
}