The Dink Network

Reply to Re: Scripting problem

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:
 
 
November 21st 2007, 07:46 AM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
Got a problem again... I want a sprite to be created on the &current_sprite's sp_x and sp_y. But it doesn't appear on the &current_sprite but up in the left corner... Why?

Here's a part of the script by the way:

&duck_x = sp_x(&current_sprite, -1);
&duck_y = sp_y(&current_sprite, -1);
int &bombzor = create_sprite(&duck_x, &duck_y, 0, xxx, x);
sp_script(&bombzor, "dam-duck");