The Dink Network

Reply to Re: Scripting question

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:
 
 
December 1st 2003, 05:05 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
There are two basic ways to do this, not including theprophet's silly way:

1) Set the strength to 0 immediately, and restore it immediately. Just do something like this:

&strength = 0;
draw_status();
//Fightin' Stuff!
&strength = &oldstr;
draw_status();

2) Remove the special frame from Dink's attack animation, so Dink can't actually hit anything. Like so:

init("set_frame_special 102 3 0");
init("set_frame_special 104 3 0");
init("set_frame_special 106 3 0");
init("set_frame_special 108 3 0");
//Fightin' Stuff
init("set_frame_special 102 3 1");
init("set_frame_special 104 3 1");
init("set_frame_special 106 3 1");
init("set_frame_special 108 3 1");

Of course, you'd need a few if (&randomvar == &somevalue) things around the code above, but that should be relatively simple to figure out.