The Dink Network

Yet another n00b question(on scripting with moving people)

December 16th 2003, 07:33 PM
anon.gif
Ok see i wanna make a script when dink walks into the room and it freezes him got that and then he walks up to someone can someone tell me how... Sure im not a n00b just act like one
December 16th 2003, 07:55 PM
wizardb.gif
merlin
Peasant He/Him
 
And talk like one.
December 17th 2003, 09:53 AM
burntree.gif
Striker
Noble She/Her United States
Daniel, there are clowns. 
Okay, d00d, first of all, you would freeze Dink using "freeze(1);". You also want to know the X, Y coordinates of where you want Dink to walk to.

Now, just use a "move_stop" command to move Dink to the coordinates you want him at. Look at DinkC Help Revision 2 or DinkC Reference v3.1 for more information on how to use that command. They're extremely handy files to have when modding.

As a final note, if Dink could enter the room at multiple points (such as being higher or lower than the point you want to move him to) you can give him "move_stop" commands in both directions with the same destination and he'll just ignore the one that wouldn't work (like the one that tells him to walk up when he's above the point you want to make him go to).

If you still have questions, post again... but more readable than your last one, please.
December 17th 2003, 12:47 PM
anon.gif
ok sorry for being a n00b the next is ive done this before and its worked buit for some reason now its not working and i have no idea what im doing wrong O_O

int &Zea = create_sprite(641, 152, 16, 251, 1);
sp_base_walk(&Zea, 250);
sp_speed(&Zea, 2);
freeze(&Zea);
December 17th 2003, 01:03 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
If the guy doesn't show up, try to place
sp_seq(&Zea, 251);
after the create_sprite();

If this doesn't work, or there's something else going wrong, try to do it withoug the capital 'Z'. But I don't think that can be it.
December 17th 2003, 01:16 PM
anon.gif
Yea your idea worked thanks a bunch