LoD_PRC8/_module/nss/dmfi_settings9.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

11 lines
476 B
Plaintext

void main()
{
object oMaster = (GetLocalObject(OBJECT_SELF, "MyMaster"));
string sEffectSetting = GetLocalString(oMaster, "EffectSetting");
float fEffectSetting = GetLocalFloat(oMaster, sEffectSetting);
SetListenPattern(OBJECT_SELF, "**", 31420); //listen to all text
SetListening(OBJECT_SELF, TRUE); //be sure NPC is listening
DelayCommand(0.5, ActionSpeakString(sEffectSetting + " is currently set at " + FloatToString(fEffectSetting)));
}