Has something changed in the on spawn code recently?
dTd
Member Posts: 182
I've always been able to set mobs to use lootable corpses with a couple lines in the on spawn scrips but now is seems they leave a corspe, which is useable, but no loot inside, it then decays and a loot sack appears. I do hope this is something simple as it allows spawnng default mobs without editing them to have lootable corpses.
These are the additions to on spawn scrip:
SetIsDestroyable(FALSE, FALSE, TRUE);
DelayCommand(1.0, SetLootable(OBJECT_SELF, TRUE));
Thanks for the help.
These are the additions to on spawn scrip:
SetIsDestroyable(FALSE, FALSE, TRUE);
DelayCommand(1.0, SetLootable(OBJECT_SELF, TRUE));
Thanks for the help.
0
Comments