generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
12
_module/nss/init_torch.nss
Normal file
12
_module/nss/init_torch.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
if(GetUserDefinedEventNumber()==1100)
|
||||
{
|
||||
PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
||||
//DelayCommand(0.4,SetPlaceableIllumination(oSelf, TRUE));
|
||||
SetLocalInt(OBJECT_SELF,"NW_L_AMION",1);
|
||||
//DelayCommand(0.5,RecomputeStaticLighting(GetArea(oSelf)));
|
||||
effect eLight=EffectVisualEffect(VFX_DUR_LIGHT_YELLOW_5);
|
||||
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eLight, OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user