License from €75 Log in
DE EN FR ES IT CZ

Is it possible to move the images of individual inventory items one by one? (or scroll the inventory through scripting?)

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 14 years ago
    The thing is, when I print IDs of animations I get something like "table: 100C81F8" instead of (0,3). Basically I've successfully got the animation as an object using something like getObject("Game.GameCurrentCharacter.CharacterItems[sword].ObjectAnimation"), but I'm trying to look this object up in the ActiveAnimations table (because it seems I can only change the position of an ActiveAnimation and not a mere Animation), and since names aren't unique, I can't use that for the lookup. So given that I have the animation as an object, is it possible to find that same animation in the ActiveAnimations table using something other than name?
  2. · 14 years ago
    if an animation is visible on the screen or is preloaded then it is classed as an active animation.

    quick tip: you can also use this method instead of using getObject for everything...
    game:getLink(VGameCurrentCharacter):getObject("CharacterItems[item_name]")
    


    also for getting id you can add :getId() after certain queries or even :getId().tableId etc...

    I think all animations are listed under animation regardless of active or not - I'm not seeing anything to list them in the data structure - you could append query for each item to see if animation is active with :getBool(VAnimationActive)

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?