2 registered members (RealSerious3D, rvl),
1,187
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: follow an action
[Re: Xarthor]
#78666
06/19/06 21:22
06/19/06 21:22
|
Joined: Aug 2004
Posts: 2,215
ISG
![](/ubb7/images/groups/mod.gif)
Expert
|
![](/ubb7/images/groups/mod.gif)
Expert
Joined: Aug 2004
Posts: 2,215
|
Quote:
No offense ISG
None taken, I was thinking more along the lines of simplicity instead of actual coding. Of course that's always a route to take, and would be best probably. But I was just handing out a short and easy fix to the problem as it would/should work just the same.
|
|
|
Re: follow an action
[Re: ISG]
#78669
06/19/06 21:44
06/19/06 21:44
|
Joined: Jul 2002
Posts: 4,436 Germany, Luebeck
Xarthor
Expert
|
Expert
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
|
@ISG: yeah lol I know thoses kind of days ... they just happen from time to time ![](/ubbthreads/images/graemlins/wink.gif) @anybody-who-reads-this: Sorry for getting off-topic @tek: Yeah if you still have a question: Do ask ... but do not open a new thread for it, just keep it to this one, if its nothing big ![](/ubbthreads/images/graemlins/wink.gif)
|
|
|
Re: follow an action
[Re: Xarthor]
#78670
06/19/06 21:46
06/19/06 21:46
|
Joined: May 2005
Posts: 222
tek
OP
Member
|
OP
Member
Joined: May 2005
Posts: 222
|
i figured it out. thanks guys btw do you know how to make a character not do anything after a morph ? for example I did a snake body and snake head with the help of Ranman I learned how to when I jump on him like mario, the snake head dissapear and the body MORPHS into a mdl of the snake splashed. the problem is that I put a script in the snake body that when I touch it I restart the level this is all good but when the snake body morphs into the snake splashed the snake splashed holds the same actions as the body. for instance when I touch the snake splashed I still restart the level and I dont wnat that ![](/ubbthreads/images/graemlins/frown.gif) do any of you know how to help ?
|
|
|
Re: follow an action
[Re: tek]
#78672
06/19/06 21:50
06/19/06 21:50
|
Joined: Jul 2002
Posts: 4,436 Germany, Luebeck
Xarthor
Expert
|
Expert
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
|
Yeah sure I know some help - well I guess ![](/ubbthreads/images/graemlins/wink.gif) Uhm you probably have a while loop in your snake's action, now don't you? Ok to make this snake stop reloading the level or whatever, just quit that while loop. How to do this: a) instead of while(1) write while(!my.flag1) and set flag1 when the snake was splashed, and put the morph behind the while loop b) instead of while(1) write while(!my.skill20) //or any other skill + the stuff mentioned at a) If you do not understand me, which would be understandable for me ![](/ubbthreads/images/graemlins/wink.gif) you could post the action of that snake + the event function where the events are handled or where it morphs to the splashed snake and all that stuff.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|