This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 4 of 4

Thread: Container syncing and script callbacks

  1. #1
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5

    Container syncing and script callbacks

    Code cpp:
    void VAULTSCRIPT OnContainerItemChange( ID container, Base base, Count count, Value value )
    {
        printf("%s %08X %d %f", GetName(container).c_str(), base, count, (float)value);
    }
     
    void VAULTSCRIPT OnActorEquipItem( ID actor, Base base, Value value )
    {
        printf("eq %s %08X %f", GetName(actor).c_str(), base, (float)value);
    }
     
    void VAULTSCRIPT OnActorUnequipItem( ID actor, Base base, Value value )
    {
        printf("ueq %s %08X %f", GetName(actor).c_str(), base, (float)value);
    }

    It responds lightning fast to in-game changes
    q.jpg

  2. #2
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    That nuka cola has been added with AddItem
    s.jpg

  3. #3
    Seriously, this is getting better and better literally every hour. Looking epic for me!
    Game Developer, Modder & Webmaster.

  4. #4
    Glad to see new functions coming out that have the power to manipulate the gameplay.
    Good job :P


    I just come here to view whether there has been any progress or not, and review the wonderful progress that Recycler and the development team has made.
    My sincere thanks goes to them and to others who value my contributions the community, not to mention the ones that solely contribute.

Posting Permissions

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