The Dink Network

Reply to Re: Attaching scripts to sprite numbers

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:
 
 
July 30th 2002, 10:32 AM
wizardg.gif
Paul
Peasant He/Him United States
 
: Well, if I didn't know how to do that, how would I have done any of CC?

: No, what I want to be able to do is attach a script to a map sprite from within another script. Possible?

Sure. Here's how:

int &temp = sp(YourSpriteNumberHere);

sp_script(&temp, "YourScripthere");