27 lines
451 B
Plaintext
27 lines
451 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
location lNewLocation = GetLocation(GetObjectByTag("WP_Warehouses"));
|
||
|
object oTarget;
|
||
|
|
||
|
oTarget = GetPCSpeaker();
|
||
|
|
||
|
if (GetIsObjectValid(oTarget) == TRUE){
|
||
|
AssignCommand(oTarget,ActionJumpToLocation(lNewLocation));
|
||
|
|
||
|
}
|
||
|
|
||
|
else if (GetIsObjectValid(oTarget) == FALSE) {
|
||
|
SpeakString("Problem here");
|
||
|
|
||
|
}
|
||
|
|
||
|
oTarget = GetObjectByTag("sas1");
|
||
|
DestroyObject(oTarget, 1.0);
|
||
|
|
||
|
oTarget = GetObjectByTag("ent_cnv_sas1");
|
||
|
DestroyObject(oTarget, 1.0);
|
||
|
|
||
|
}
|
||
|
|