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

Waypoint scaling system

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

  1. · 9 years ago
    execute a script >
    dest =
    {
     game.CurrentCharacter.Destination,
     game.CurrentCharacter.DestinationObject,
     game.DestinationCommand,
     game.DestinationEvent,
     game.DestinationItem,
     game.DestinationItemPicked
    }

    change way system to "x"

    As you can see, there's quite a lot of different tables when it comes to the destination. In my example I've stored them all inside of a table, so you could do that before executing the change way system action part & then afterwards you could insert those values back into the data structure fields like so...

    execute a script >
    if dest[1] ~= nil then game.CurrentCharacter.Destination = dest[1] end
    if dest[2] ~= nil then game.CurrentCharacter.DestinationObject = dest[2] end
    if dest[3] ~= nil then game.DestinationCommand = dest[3] end
    if dest[4] ~= nil then game.DestinationEvent = dest[4] end
    if dest[5] ~= nil then game.DestinationItem = dest[5]; game.DestinationItemPicked = dest[6] end


    We're checking which table entries are empty/nil so that we only update the ones we need. I don't know if it will work as I've not tested it, but you can try it & cross your fingers &/or toes.
  2. · 9 years ago
    i will try this.
    Thank you for your help wink


    Update :  this works !!

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?