Another one of those threads... I've seen this done in several PWs too, so what's the trick? ![]()
How to apply wings/tails in game?
Débuté par
Clangeddin86
, févr. 22 2016 12:38
#1
Posté 22 février 2016 - 12:38
#2
Posté 24 février 2016 - 02:22
It's done via a script called nwnx_objectattributes_include
void main(string sTarget = "")
{
object oPC = (GetPCSpeaker()==OBJECT_INVALID?OBJECT_SELF:GetPCSpeaker());
// Set the correct tail based on gender
int nTail;
if (GetGender(oPC) == GENDER_MALE) {
nTail=8;
} else {
nTail=9;
}
// Cure albino tail
XPObjectAttributesFixTailTint(oPC);
// Create tail on character
XPObjectAttributesSetTailVariation(oPC, nTail);
// Zone the characer for the tail to appear.
}





Retour en haut







