Create only ONE Actor (not like in update event)

wolf2013

  • Posts: 70
Hi,
i have a SCORE attrribute and I need to create an actor when the score reaches  e.g   <if SCORE = 200> create Actor.

When i put the code in UPDATE EVENT it creates unlimited actors and when in CREATED EVENT not working because  SCORE = 0

is there any IF event for attribute ?

yoplalala

  • *
  • Posts: 1632
you put a boolean inside the update event.

You can also try  add events / attributes / equality

wolf2013

  • Posts: 70
you put a boolean inside the update event.

You can also try  add events / attributes / equality

How do you mean "put a boolean inside the update event." ?

t4u

  • Posts: 418
on update
 if (my_bool){
   my_bool=false;
    create actor;}
USE PICTURES WHEN YOU ASK SOMETHING!
If I helped you be sure to mention it in your game.

Tutorials + downloads:
http://t4upl.blogspot.com/