The Dink Network

Pillbug

June 30th 2009, 08:15 AM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
I'm adding pillbugs that'll appear on screen in a flash, but they're still random if they attack Dink or not, I want them to target immediately. Some way of editing en-pill.d or copy the enemy script from somewhere and make a new .c file so I can edit the random targeting?
June 30th 2009, 08:18 AM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
I think it's done by putting this to the Pillbug's script:

"sp_target(&current_sprite, 1);"

I'm not sure, though.
June 30th 2009, 08:18 AM
slayer.gif
MadStalker
Peasant He/Him Finland
tag line 
Add sp_target(&current_sprite, 1); in the pillbugs' main proc. Of course, you need a editable DinkC file (not .d) for this.
June 30th 2009, 08:19 AM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
There, you see? Finnish people are the fastest to answer lol.
June 30th 2009, 08:44 AM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Thank you, neighbours . Anyway, I've copied en-pill.d from Dink so I couldn't edit it. I searched around and found a .c file of the pillbug and deleted the random procedure leaving sp_target(&current_sprite , 1); so now it works perfectly.
June 30th 2009, 11:47 AM
pillbug.gif
pillbug
Peasant He/Him United States
Love! True love! 
That might be how you do it, but you can't do it legally without my written consent.
June 30th 2009, 12:01 PM
dragon.gif
Quiztis
Peasant He/Him Sweden bloop
Life? What's that? Can I download it?! 
Dang.
June 30th 2009, 12:09 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
The Dink-World is full of pillbugs. What makes you think, peasant, that you are above them?
June 30th 2009, 04:37 PM
slimeg.gif
metatarasal
Bard He/Him Netherlands
I object 
Well, being a peasant places him above the pillbugs. Farmers are supposed to kill pillbugs remember?

And if there's ever a peasant called 'pillbug' he has a loyalty crisis.
June 30th 2009, 05:42 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
They're supposed to kill pillbugs, but in practice, this means they hire Dink to do the dirty work.