The Dink Network

Reply to Re: How do you make Dink do things

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 1st 2005, 03:24 AM
custom_simon.gif
SimonK
Peasant He/Him Australia
 
Making Dink do things like throw a weapon etc can be tricky. When I end up frustrated because I can't get the sp_nocontrol() etc to do what I want then I usually end up:

1) turn the real Dink invisible with sp_nodraw and freeze him

2) at the same time create a sprite in his exact spot facing the same direction

3) move real Dink off screen (turn on the ability to do this without the screen scrolling)

4) get the fake Dink sprite to do what you want.

5) move real Dink back via the sp_x and sp_y commands

6) turn on real Dink dispaly via sp_nodraw()

7) kill the fake Dink.

God that seems complicated... but sometimes I do just that... for Dink in quicksand (SOB) and falling off the ice bridge (PQ) - although by memory I used the real Dink in SOB to throw a fireball inside Story 4 with the guy in the hut with the little ring of stones, and also with the hammer of truth in Story 1 when Dink returns with the flute (I think that's in the Queens script... not sure)

Ah... enough my head hurts!