generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
31
_module/nss/zep_cw_sc_glow.nss
Normal file
31
_module/nss/zep_cw_sc_glow.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: CEP Creature Wizard
|
||||
//:: Community Expansion Pack
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Set appearance to the selected invisible model
|
||||
and tail
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: 420
|
||||
//:: Created On: April 20, 2009
|
||||
//:://////////////////////////////////////////////
|
||||
#include "zep_cw_inc"
|
||||
|
||||
void main()
|
||||
{
|
||||
struct CW2da data = Get2daData();
|
||||
object oTarget = data.target;
|
||||
int nApp = GetAppearanceType(oTarget);
|
||||
int nTail = GetCreatureTailType(oTarget);
|
||||
int nScale = GetLocalInt(OBJECT_SELF, "CW_Scale");
|
||||
|
||||
SetCreatureAppearanceType(oTarget, nScale);
|
||||
TokenList();
|
||||
|
||||
if(nTail <= 14 ||
|
||||
Get2DAString("tailmodel", "MODEL", nTail) == "")
|
||||
{
|
||||
DelayCommand(1.0, SetCreatureTailType(AppToTail(nApp), oTarget));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user