User Tag List

Results 1 to 2 of 2

Thread: Set item value (animation value) to 1

  1. #1
    No Products Registered

    Join Date
    Jul 2015
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Set item value (animation value) to 1

    (sorry, i meant "item name" in the title.)

    Hey lads, i'm making a game where if you defeat an character, it might join you.
    so what i did was:

    "Alterable value E of (character) is lower than 0..."

    Then i set the current file at the ini, and what i want to do is..

    I want to make a new item, and the name of it will be the character's animation value.

    let's say the character has animation 16.
    Once Alterable value E of (character) is lower than 0, set item name "16" to 1.
    But how do i do that? i tried using the Str$, but i didn't work...

    Can anyone tell me what exactly should i write in the part where i write the item name? Thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    If I understand correctly,
    you want to save current animation number value of an object in the INI as an item name?

    then you should set "current item" to:

    Str$( Anim Number( "object" ) )

Similar Threads

  1. Replies: 3
    Last Post: 5th March 2016, 07:26 PM
  2. Replies: 9
    Last Post: 14th January 2015, 05:10 PM
  3. pick up item
    By gamebuilder in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 18th June 2012, 11:31 PM
  4. Bonus item
    By Rabagast in forum Multimedia Fusion 2 - Technical Support
    Replies: 21
    Last Post: 6th February 2010, 12:42 AM
  5. Get item name with ini++
    By MikeB in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th June 2009, 09:02 PM

Posting Permissions

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