Further file organization
Further file organization
This commit is contained in:
14
nwn/nwnprc/trunk/scripts/ft_spontsummon.nss
Normal file
14
nwn/nwnprc/trunk/scripts/ft_spontsummon.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
void main()
|
||||
{
|
||||
string sSwitch = "PRC_SpontSummon";
|
||||
if(!GetLocalInt(OBJECT_SELF, sSwitch))
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, "PRC_SpontSummon", TRUE);
|
||||
FloatingTextStringOnCreature("Spontaneous summoning activated", OBJECT_SELF, FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
DeleteLocalInt(OBJECT_SELF, "PRC_SpontSummon");
|
||||
FloatingTextStringOnCreature("Spontaneous summoning de-activated", OBJECT_SELF, FALSE);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user