25 lines
727 B
Plaintext
25 lines
727 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Summon Animal Companion
|
|
//:: NW_S2_AnimalComp
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
This spell summons a Druid's animal companion
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Preston Watamaniuk
|
|
//:: Created On: Sept 27, 2001
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
//Yep thats it
|
|
SummonAnimalCompanion();
|
|
|
|
object oFamiliar = GetAssociate(ASSOCIATE_TYPE_ANIMALCOMPANION);
|
|
|
|
int nFamiliarLevel = GetHitDice(oFamiliar);
|
|
float fScale = 0.6 + nFamiliarLevel*0.05;
|
|
SetObjectVisualTransform(oFamiliar, OBJECT_VISUAL_TRANSFORM_SCALE, fScale);
|
|
}
|