RanMan, thank you so much for your contribution, you game me a nice idea.

What I am gonna do is create a snake head and snake body, i'm gonna give the body the action of going forward and backwards at a speed of 5 If I touch the body I die.
I have already the code for this.
For the head I will put a different action I will put the same movement, direction and speed as the body and that if I touch the head, (which this can only be acomplished if I jump) then the head disappears and the body turns into a splashed goomba (snake).
Man I am a genius (just kidding).

I have a question i would like to ask.

I know this is simple but how do I implement that when I touch something it dissapears ? for instance when I touch the snake head I want the sname head to disappear.
I know it's my.enable_impact =on; to touch but to make the snakehead to disappear what do I put ?

also, I know to morph an enemy I will have to put ent_morph.

But my question is if I touch the snake head what do I implement so that the snake body morphs unto the turtle splash.

I already have the model snakesplash.

I know I would use this if I wanted to make let's say the head turn unto the snake splash.

ent_morph(me,"snakeplash.mdl");

What I want is instead of ent_morph(me)
its ent_morph(snakebody,"snakesplash.mdl");
maybe what I just wrote could work lol I'll see if it does.

but if that's not the way and someone knows it would really help.
well, thanks for all your help these forums are great help I have learned so much about game design and coding.
In my wildest dreams I would never have thought I could get as far as I am.

Last edited by tek; 06/16/06 01:21.