18 lines
465 B
Plaintext
18 lines
465 B
Plaintext
void main()
|
|
{
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetLastDamager();
|
|
|
|
// Have us say something.
|
|
SpeakString("You have made an enemy of the south barracks soldiers this day!");
|
|
|
|
// Have us perform a sequence of actions.
|
|
DelayCommand(2.0, ActionMoveAwayFromObject(oPC));
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(3.5, DestroyObject(oSelf));
|
|
}
|
|
|