Delay between spawning triggered by click

Here's what I want:

Click and an actor is spawned, then a one second delay before you can spawn another one by clicking.

Right now you can just spawn them as fast as you can click.

Thanks

Comments

  • SmokeyAce73SmokeyAce73 EarthMember Posts: 370
    edited March 2014

    Suggestion

    Add a timer?
    Create Boolean Attribute for Spawned

    Rule
    If Spawned is true DO
    Timer
    After x Seconds
    Change attribute Spawned to false
    (x Would be how long to wait until you can spawn again)

    On the actor
    Rule - All
    if game.spawned is false
    touch is pressed
    DO
    Spawn actor

    Let me know if it works

    Developer For BLUNTentertainment - Feel Free To Message Me! - Free Beginner Templates!

Sign In or Register to comment.