void main() { int summonfeat = GetLocalInt(OBJECT_SELF,"sa2_SummonFeat"); if (summonfeat == FEAT_ANIMAL_COMPANION) { SummonAnimalCompanion(OBJECT_SELF); } else { SummonFamiliar(OBJECT_SELF); } ActionUseFeat(FEAT_SUMMON_FAMILIAR, OBJECT_SELF); }