Prowler Productions
  Dink Smallwood Forum
  Moving between rooms

Post New Topic  
profile | register | faq

Author Topic:   Moving between rooms
SPiRiToFCaT posted 05-23- 04:02 AM CT (US)   Click Here to See the Profile for SPiRiToFCaT   Click Here to Email SPiRiToFCaT  
Okay, I'm a brand newbie and I know very little...
I did Tut1.txt and that's about all I have done.
I tried to make a second room/screen but dink can't get there. He just hits the edge of the screen and doesn't go to the next one!
What should I do???
Drakeman posted 05-23- 06:23 AM CT (US)     Click Here to See the Profile for Drakeman  Click Here to Email Drakeman     
My guess is he's actually on map square 0 (An exact copy of your first map) and that the command which you're using to zap Dink to your first square has a typo mistake, or is not correct DinkC.

I wrote a little script that tells you which map square Dink is on and co-ordinates (very handy for Beta testing)... Copy this, save it as key-87.c then put it in the Story directory of your DMOD and Dink will tell you where he is when you hit the "W" key.

//where Dink currently is

void main ( void )
{
//playsound(57, 22050, 0, 0, 0);
int &dx = sp_x(1, -1);
int &dy = sp_y(1, -1);
say("My position is &dx, &dy", 1);
say_stop_xy("`6YOU ARE ON MAP &player_map", 0, 50);
}


I've commented out the playsound thing, as your sound bank may not have a sound 57

Wyndo posted 05-25- 11:54 AM CT (US)     Click Here to See the Profile for Wyndo  Click Here to Email Wyndo     
Yes, this is one of those common questions that's answered in the FAQ:

http://www.prowler-pro.com/dmods/dmod-faq.html#Q006

Post New Topic  Post Reply
Hop to:


Contact Us | Prowler Productions

Powered by: Ultimate Bulletin Board, Freeware Version 5.10a
Purchase our Licensed Version- which adds many more features!
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.