Thanks to you guys the code worked
)
I have done so many thinsg in my game.
This is the picture of the bats in my underground pyramid cave level.
and here are the bats following me and when I shoot it they disappear.
I know i'm pushing it, but I want my game to have everything I want to make a super game I am sorry for keep asking advice.
I would like to know how to make a entity appear for 5 seconds and dissapear for 5 seconds like in megaman.
The entity platform is on top of a lava pit (which I already made)so I must jump from platform to platform, the danger is the platform that I jump on must appear and disappear and then appear again and dissapear and keep on (like 5 seconds its there and 5 seconds it disappear and vice versa) making it harder for me to get to the other side
that's my ingenius plan.
Does anyone know how to do this, i tried coding this myself with everything I learned (ent_morph, functions etc etc) but I couldnt get the job done.
any help would be greatly appreciated.
What I did was something like this.
my.passable=on;
my.invisible=off;
sleep(5);
my.event=entity_dissapear;
then in the function entity_dissapear
something like
my.passable=off;
my.invisible=on;
but the code keep giving me errors and I don't believe I am even close to accomplishing what I have in mind. i am trying to learn and thank you for all u guys help because I gotten so far.
Does anyone know how I can do this ?