How do I freeze character for a short time

Talk about making games.

How do I freeze character for a short time

Postby stevirt » Mon Feb 13, 2006 5:42 am

I am trying to make a guy frozen for a couple of seconds when he hits something. I have used "event disable" which puts him out of comission - then how do I put in a pause before i do "event enable"? I guess I don't know how to use timers well enough? Tried some things but not working.

Thanks in advance for any help :D
stevirt
 
Posts: 9
Joined: Fri Feb 10, 2006 4:27 am
Score: 0 Give a positive score

Postby Diana Kennedy » Mon Feb 13, 2006 10:11 am

You'll have to work with a timer. First, ad to the collision event an event disable actioan. also in the colllision event create timer (with the tme desired) on the timer action set event enable.

This was just a quick tought, I hope it was right.
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby stevirt » Tue Feb 14, 2006 6:32 am

Thanks Diana - took me a while to figure out those timers exactly but I finally got it working. I think what got me is the fact that you need to create a timer as a result of an action, and then create a timer again as part of the actor - with a result that follows at the end of the timer. Makes sense now - will be a handy tool.
stevirt
 
Posts: 9
Joined: Fri Feb 10, 2006 4:27 am
Score: 0 Give a positive score

Postby Diana Kennedy » Tue Feb 14, 2006 10:23 am

Yes, Timers require a bit - time - to learn their proper use, but then, they are a powerful tool. I hope you can make your special idea get working, if not come back and ask, there are a lot of people here who already know better than me anyway.
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest