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?
Turn a PC into what?
Débuté par
FiresTemptress
, sept. 10 2010 09:00
#1
Posté 10 septembre 2010 - 09:00
#2
Posté 10 septembre 2010 - 10:17
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:
Add visual effects to taste.
-420
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
Posté 11 septembre 2010 - 02:39
:: pounces and hugs the heck out of you:: THANK YOU! It is exactly what I have been looking for! It works surperbly too!





Retour en haut






