The Dink Network

Reply to Undocumented functions

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:
 
 
June 3rd 2005, 04:45 PM
sob_scorpb.gif
ikkejw
Peasant They/Them
 
From the DinkC Reference v3.2:
# Category: Undocumented
# Prototype:
# int sp_notouch( int sprite, int value <-1 to not change> );
[This command was discovered by ReDink1: "doesn't seem to be used... It might be only useful like sp_gold, sp_brain_parm, and sp_brain_parm2: just another number to have when messing with sprites." The prototype is a guess at this point, more research is needed.]


Well, I found this function's use in only 30 secs. It actually means 'no touch damage', and it seems to be a way to temporarily disable a sprite's touch damage. Besides, int value should be bool value, like this:

# Category: Undocumented
# Prototype:
# int sp_notouch( int sprite, bool value <-1 to not change> );


It doesn't return a bool, since Dink doesn't have bool's, but balls. D'OH!

And about sp_gold();, I think I can use it in a really cool way .