The Dink Network

rilian's Profile

sob_scorpr.gif
rilian
Peasant They/Them United States
 
Yosh. I'm a new member, I want to try making my own computer game at some point.

E-Mail glumbelf@hotmail.com
Private Message

2010-10-20 09:00:24
sob_scorpr.gif
rilian
Peasant They/Them United States
 
Hi,
I am writing a script that freezes a character on the screen when you touch an object. The character is moving back and forth using a goto loop, a move and a move_stop command. This script is attached to the moving sprite.

I've attached a script to a static object that should freeze the moving sprite when I touch it. I have set the touch value to 0 so it doesn't continually run the touch command while I am executing the contents. I can make the moving sprite say something, but I can't get it to stop moving, even when I use the freeze(&moving_sprite); command.

Is there any way to use a freeze command in a separate script to get the moving sprite to break out of its move loop? I could just kill the sprite and generate a new one on the spot and re-attach the script to that new sprite after the dialogue, but it is a very inefficient way of doing things. I can post my code later today hopefully if someone wants to take a look. Thanks!

rilian has released 1 file

TitleCategoryAvgUpdated
Red Spider GraphicsDevelopment, GraphicsGood 7.0July 29th, 2010

rilian has written 1 review

TitleFileTypeScoreDate
Buildings/Houses graphics by IPD Buildings/Houses GraphicsNormalExceptional 9.5January 9th, 2011

rilian has taken 2 screenshots

ScreenshotFileDate
Preview Buildings/Houses GraphicsJanuary 9th, 2011
Preview Buildings/Houses GraphicsJanuary 9th, 2011