Results 1 to 2 of 2

Thread: Scripting Bags

  1. #1

    Question Scripting Bags

    Are there any events when an object is added to bag container?

    In documentation I found only this:
    onObjectLeaveContainer(Object container, Object leave_object)

    But no function for new objects in the bag.

    All I need is a simple event system to call my custom function CountAgain() every time the bag is changed, because I store objects with different values. So I need to recount total value of the whole bag in real time (but not using update() function).

  2. #2

Similar Threads

  1. Replies: 0
    Last Post: 06-29-2018, 04:03 PM
  2. Better bag preview for endless bags in bags
    By Unreal_Ed in forum Suggestions
    Replies: 0
    Last Post: 02-27-2018, 07:13 PM
  3. Replies: 0
    Last Post: 06-20-2017, 05:31 PM
  4. Replies: 4
    Last Post: 08-09-2016, 12:05 AM
  5. [ADDED] Closed, Sealed-off Bags for Scripting
    By Mark in forum Scripting
    Replies: 1
    Last Post: 04-14-2016, 02:57 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts