Aller au contenu

Photo

Turn a PC into what?


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
FiresTemptress

FiresTemptress
  • Members
  • 2 messages
Using a tag based system how would I go about using a placeable that will allow a PC to turn into a dolphin for a brief amount of time?

example: PC drinks out of a "hole water basin" and presto, seconds later they are a dolphin.  I would like a time limit of about 30 seconds on it tho before they revert back to their original self.

Can anyone help me with this?

#2
420

420
  • Members
  • 190 messages
Problem is there are no dolphin appearances. Not even in the CEP. However, this script will do what you want but change the PC into a mako shark.

Make sure your basin in useable then put this in the its OnUsed event:
void main()
{
object oPC = GetLastUsedBy();
int nApp = GetAppearanceType(oPC);

//Make the PC "take a drink"
AssignCommand(oPC, PlayAnimation(ANIMATION_FIREFORGET_DRINK));

//Set Appearance to mako shark using the line number from appearance.2da
DelayCommand(3.0, SetCreatureAppearanceType(oPC, 447));

//After 30 seconds (+3 for above delay) change PC back
DelayCommand(33.0, SetCreatureAppearanceType(oPC, nApp));
}

Add visual effects to taste.

-420

Modifié par 420, 10 septembre 2010 - 10:19 .


#3
FiresTemptress

FiresTemptress
  • Members
  • 2 messages
:: pounces and hugs the heck out of you:: THANK YOU! It is exactly what I have been looking for! It works surperbly too!