REO-EE/_module/nss/gun_changemode.nss
Jaysyn904 f82740bbbd Initial commit
Initial commit
2024-02-22 13:22:03 -05:00

18 lines
240 B
Plaintext

#include "gun_include"
#include "nwnx_events"
void main()
{
object oItem;
if(ADV_USING_LINUX)
{
oItem = GetEventItem();
}
else
{
oItem = GetSpellCastItem();
}
GUN_SwitchWeaponMode(oItem);
}