20 lines
715 B
Plaintext
20 lines
715 B
Plaintext
// PUKE IT UP!!!!
|
|
// You didn't ask for it...but you got it anyway.
|
|
// This is my first script from scratch.
|
|
// Created by DM_Rothgar
|
|
// Its a PUKING script!!!
|
|
|
|
void main()
|
|
{
|
|
effect ePuke = EffectVisualEffect(VFX_COM_CHUNK_YELLOW_SMALL);
|
|
object oPuker= GetNearestObjectByTag("BalorKeeper");
|
|
string sPukeTalk = "BBBLLLLAAAARRRRGGGGHHHHH!!!!";
|
|
string sPukeApology = "I'm so sorry!";
|
|
ClearAllActions();
|
|
AssignCommand(OBJECT_SELF, ActionPlayAnimation(ANIMATION_LOOPING_MEDITATE));
|
|
AssignCommand(OBJECT_SELF, ActionSpeakString(sPukeTalk));
|
|
DelayCommand(2.0,ApplyEffectToObject(DURATION_TYPE_TEMPORARY, ePuke, OBJECT_SELF, 1.0));
|
|
DelayCommand(5.0, ActionSpeakString(sPukeApology));
|
|
}
|
|
|