User Tag List

Results 1 to 5 of 5

Thread: If statements

  1. #1
    No Products Registered

    Join Date
    Oct 2011
    Location
    Canada
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    If statements

    Hey,

    The game I'm working on is an rpg of sorts. I have a global value for max hp which will change based on level of player. I'm wondering how I could possibly change global value of Player_MaxHP based on global value of Player_Level. I'm thinking I'll need a way to do an if statement of some sort, like if Player_Level = 5, Player_MaxHP = 500, something like that.

  2. #2
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Sumo's Avatar
    Join Date
    Jul 2008
    Posts
    642
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Condition: Compare Global Value: Value is equal to 5

    Action: Set Global Value Player_MaxHP: 500

  3. #3
    No Products Registered

    Join Date
    Oct 2011
    Location
    Canada
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, sumo

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Every single event is an If statement.

  5. #5
    Clicker Multimedia Fusion 2 Developer
    alspal's Avatar
    Join Date
    Nov 2007
    Location
    Australia
    Posts
    171
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I use the Boolean Object to do "if statements" in expressions.

Similar Threads

  1. In a deep hole: [OR Statements]
    By ProdigyX in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 21st June 2016, 05:47 PM
  2. Red condition statements
    By Dave in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 19th December 2010, 07:10 AM
  3. Simple question about OR statements
    By pirodaggar in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 22nd August 2010, 08:20 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
  •