22 lines
1.4 KiB
Plaintext
22 lines
1.4 KiB
Plaintext
void main()
|
|
{
|
|
object SK = GetObjectByTag("stringkeep");
|
|
object user = GetLastUsedBy();
|
|
|
|
AssignCommand(user,ActionUnequipItem(GetItemInSlot(INVENTORY_SLOT_CHEST,user)));
|
|
DelayCommand(1.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(1.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
|
|
DelayCommand(2.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(3.0,PlayVoiceChat(VOICE_CHAT_LAUGH,user));
|
|
DelayCommand(3.0,AssignCommand(user,SpeakString("La-la-la")));
|
|
DelayCommand(4.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(4.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
|
|
DelayCommand(5.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(5.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(6.0,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_BORED,5.0)));
|
|
DelayCommand(6.5,AssignCommand(user,ActionPlayAnimation(ANIMATION_FIREFORGET_PAUSE_SCRATCH_HEAD,5.0)));
|
|
DelayCommand(7.0,PlayVoiceChat(VOICE_CHAT_TASKCOMPLETE,user));
|
|
DelayCommand(8.0,AssignCommand(user,ClearAllActions()));
|
|
DelayCommand(9.5,SendMessageToPC(user,"You are clean..."));
|
|
}
|