The Dink Network

Ric's Profile

Peasant Canada
I'm a factory worker in Alberta Canada. I Have 4 kids, two of whom are trying to learn how to make a game. A bit too young yet though.
I've been away a long time, but somehow the Dink network still feels like home.

Private Message

2003-05-04 08:38:48
Peasant Canada
When you use external in one script, to call a procedure from a second script, Dink acts as though that other procedure is there in place of the command "external.". So if the procedure called in controls "&current_sprite", it will control the sprite that the first script is attached to. It saves typing and memory. You can use external to run talk, attack, die, or anything from another sprite you think will work. You can even use extenal to run a procedure within the first script, knowing it will return to the "external" command when it is done. Handy.
Room scripts are the best for setting visions because it is run before the screen is drawn, and so you don't need to force_vision. Graphics will run smoother too, unless you have a wait() or a random() in it. Room scripts can create_sprite and other things too, but don't use things like talk() or hit() unless you attach it to a sprite with sp_script_attach().
Spawn runs a script starting with its main() without interupting the script that spawned it. If you need that script attached to a sprite (even sp 1000 ) I would just use sp_script(1000,"scriptname"); . Always end that script with Kill_this_task(); or it will never end. (Most sprite scripts die when you leave the screen, but sp 1000 never dies.)

Ric has released 5 files

Windemere Graphics PackDevelopment, GraphicsGood 8.0January 31st, 2006
Dink Models ( .Blend )DevelopmentExceptional 9.0January 5th, 2006
BlendTutDevelopment, TutorialExceptional 9.5November 27th, 2005
ChaosD-Mod, RompFair 6.3August 31st, 2004
Bane of the MagiD-Mod, QuestGood 8.5June 29th, 2004

Ric has written 2 reviews

Hard To Rate This Windemere SourceNormalGood 7.0January 4th, 2006
Very Nice Grass to Pavement/Stones TilesNormalGood 8.0June 30th, 2002