Aantioch_Infernum/_module/nss/onhb_beamsource.nss

9 lines
250 B
Plaintext
Raw Permalink Normal View History

2023-08-08 16:22:17 -04:00
void main()
{
int nDoOnce = GetLocalInt(OBJECT_SELF, "DoOnce");
if (!nDoOnce && GetLocalInt(OBJECT_SELF, "BeamSetToOn") == TRUE) {
ExecuteScript("ud_beamtarget", OBJECT_SELF);
SetLocalInt(OBJECT_SELF, "DoOnce", TRUE);
}
}