Results 1 to 8 of 8
  1. #1
    Member 3d solar system builder's Avatar
    Join Date
    Mar 2012
    Location
    texas
    Posts
    1,750

    property question

    How do you make a property recharge instantly after it gets to a state and not go over using logic bricks?
    This is related to the same question i had before. I decided to make it with logic bricks instead.
    Last edited by 3d solar system builder; 15-Aug-13 at 18:34.



  2. #2
    Member Spike1's Avatar
    Join Date
    Sep 2012
    Location
    Somewhere in Melbourne :D
    Posts
    283
    I'm not sure what you mean by recharge(I've said that alot on these forums recently, think I need sleep ), but assuming it means reset the property to 0, just add a property sensor set to check if its at the maximum value, and if it is connect it to a property actuator with it set to assign the value to zero, or whatever starting value you want .
    I wanted to watch my animation render....
    Cool projects and tutorials(Coming Soon)
    Electronic Mind Studios



  3. #3
    Member 3d solar system builder's Avatar
    Join Date
    Mar 2012
    Location
    texas
    Posts
    1,750
    Originally Posted by Spike1 View Post
    I'm not sure what you mean by recharge(I've said that alot on these forums recently, think I need sleep ), but assuming it means reset the property to 0, just add a property sensor set to check if its at the maximum value, and if it is connect it to a property actuator with it set to assign the value to zero, or whatever starting value you want .
    By recharge i mean add.



  4. #4
    Member carlo697's Avatar
    Join Date
    Nov 2012
    Location
    Venezuela
    Posts
    612
    Use a property actuator, put this in add mode, and in python: own["property"] += 1



  5. #5
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    The Dark side____________ Special Attack: Logic Bomb
    Posts
    8,765
    Here ya go :d

    PRESS SPACE :d
    Attached Files Attached Files
    Last edited by BluePrintRandom; 15-Aug-13 at 19:55.
    "If you are collaborating and competing you can achieve greatness. (mine is better, here is how I did it, lets make a new one that IS better)" - BPR
    Unknown Forces Game Studio
    My youtubeness | G+ | Wrectified Video



  6. #6
    Member 3d solar system builder's Avatar
    Join Date
    Mar 2012
    Location
    texas
    Posts
    1,750
    Originally Posted by BluePrintRandom View Post
    Here ya go :d

    PRESS SPACE :d
    That worked for part of it.
    Did you read my post before this one blueprintrandom.
    Really i am using the keyboard sensor and motion actuator to make a password.You have to guess what not to do in order for the enemy not to attack you and so that he won't become invicible for 10 seconds.If you guess a particular piece of the password right that you are on.The enemy becomes vulnerable for ten seconds and you can kill the enemy.
    Last edited by 3d solar system builder; 15-Aug-13 at 20:25.



  7. #7
    Member BluePrintRandom's Avatar
    Join Date
    Jul 2008
    Location
    The Dark side____________ Special Attack: Logic Bomb
    Posts
    8,765
    <brain implodes>

    Explain in a

    Step 1 : player does X
    Step 2 : thing 2 happens


    as I don't know what your going for
    "If you are collaborating and competing you can achieve greatness. (mine is better, here is how I did it, lets make a new one that IS better)" - BPR
    Unknown Forces Game Studio
    My youtubeness | G+ | Wrectified Video



  8. #8
    Member 3d solar system builder's Avatar
    Join Date
    Mar 2012
    Location
    texas
    Posts
    1,750
    Originally Posted by BluePrintRandom View Post
    <brain implodes>

    Explain in a

    Step 1 : player does X
    Step 2 : thing 2 happens


    as I don't know what your going for
    On state one of the enemy becomes vulnerable for ten seconds when the player turns.The player turning set the state engine to state 2.Which makes the enemy vulnerable for ten seconds.Then the enemy set itself to state four.On state one of the enemy when the player goes left,right or forward the enemy becomes invincible for ten seconds.The player going left,right or forwards sets the state engine to state three.Which makes the enemy become invincible for ten seconds.Then the enemy sets itself to state five.Each one of the states of the enemy are programmed differently.



Posting Permissions

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