20 lines
567 B
Plaintext
20 lines
567 B
Plaintext
|
void main()
|
||
|
{
|
||
|
//Move individual to new location
|
||
|
location lNewLocation = GetLocation(GetObjectByTag("WP_Fort_Jail"));
|
||
|
object oTarget;
|
||
|
|
||
|
|
||
|
//Since the script is called from a conversation
|
||
|
//determine who is moved by calling the GetPCSpeaker function
|
||
|
oTarget = GetPCSpeaker();
|
||
|
|
||
|
if (GetIsObjectValid(oTarget) == TRUE){
|
||
|
AssignCommand(oTarget,ActionJumpToLocation(lNewLocation));
|
||
|
}
|
||
|
else if (GetIsObjectValid(oTarget) == FALSE) {
|
||
|
SpeakString("Problem here");
|
||
|
}
|
||
|
}
|
||
|
|