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, 06:33 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Hmm... if Dink's frozen, why would you even need to use something like sp_nocontrol? Wouldn't you just be able to:

freeze Dink
play Dink's sequence (attack, sink, etc)
wait a bit
create projectile (if necessary)
wait a bit more
sp_dir Dink to his old direction so he plays his idle sequence (for the quicksand stuff, you'd probably just do a sp_nodraw, yeah)

Or if you really want to get funky, you could store the script number of the current weapon in a global variable (like in the arm sequence, do something like &current_weapon = &current_script; ) and try run_script_by_number(&current_weapon, "use");