Skip to content

Has something changed in the on spawn code recently?

dTddTd 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.

Comments

  • dTddTd Member Posts: 182
    I can confirm this behavior is still present after the latest patch.
  • JuliusBorisovJuliusBorisov Member, Administrator, Moderator, Developer Posts: 22,725
    Please, report it on support.baldursgate.com following this instruction.
Sign In or Register to comment.