Spawn actor for a certain amount of time

pedro006pedro006 Member Posts: 0
Hi
I would like to know how to spawn an actor for a certain amount of time :)
thanks in advance

pedro

first time here :P

Comments

  • master200012master200012 Member Posts: 372
    In order to do so, spawn the actor, then put in a rule.

    When (attribute) self.time > (the number of seconds you want this actor to exist,

    Destroy.

    Or use a timer.

    After (time you want),

    Destroy.

    For better results, you can also have the actor start off-screen, then move into view, then back out of view. Make sure you look up recycling actors for this.

    Hope this helps!
  • J_PANJ_PAN Member Posts: 140
    @pedro006, try the timer behavior, it should work
Sign In or Register to comment.