//:://///////////////////////////////////////////// //:: Name invis_onspawn //:: Copyright (c) 2022 Project RATDOG //::////////////////////////////////////////////// /* Sets spawner permenently invisible. Used for faction spawn markers since they must be creatures. */ //::////////////////////////////////////////////// //:: Created By: Jaysyn //:: Created On: 20221203 //::////////////////////////////////////////////// void main() { effect eNatInvis = EffectInvisibility(4); eNatInvis = SupernaturalEffect(eNatInvis); eNatInvis = ExtraordinaryEffect(eNatInvis); DelayCommand(0.0f, ApplyEffectToObject(DURATION_TYPE_PERMANENT, eNatInvis, OBJECT_SELF)); }