Object Stacks

RawrRawr Posts: 508 Seed
edited March 2015 in Code
As at v0.8.3
NKModifyStackCount(-1) on an object does not delete the object if stack size = 1 however...
ModifyStackSize(-1) will, example being in the ReturnStone.lua script.
Could this inconsistency please be improved.
Programmer, designer, artist.

Comments

  • johnycilohoklajohnycilohokla Posts: 283 Developer
    Rawr wrote:
    As at v0.8.3
    NKModifyStackCount(-1) on an object does not delete the object if stack size = 1 however...
    ModifyStackSize(-1) will, example being in the ReturnStone.lua script.
    Could this inconsistency please be improved.

    NKModifyStackCount is an engine call and ModifyStackSize is a lua function.
    Stack size in now handled by lua and NKModifyStackCount is deprecated and will be remove in the future.
    My Blog
    jc.png
      yt.png  t.png  
Sign In or Register to comment.