User Tag List

Results 1 to 2 of 2

Thread: .ini help

  1. #1
    No Products Registered

    Join Date
    May 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .ini help

    Ive begun using .ini files to store locations of objects when moving from one frame to the next. I thought it would be as simple as using the save/load object location option in the .ini object column. I did locate the .ini file so i know it is being written to, but when I use the Load Object Location option, it does not place the item at that location. Any thoughts?

  2. #2
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: .ini help

    It does not know where and what you want to load. Do it manually like this:

    Write (save)

    [OBJECT1] //saves coordinates to INI to group OBJECT1
    X=400
    Y=200

    Load:

    Set X position to GetGroupValue("OBJECT1","X")
    Set Y position to GetGroupValue("OBJECT1","Y")

    But I would recommend you using associative array or so, you can store and load keys (GetValue from key) and those are encoded, once saved.

Posting Permissions

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