Reply to Re: external question
If you don't have an account, just leave the password field blank.
: You're not going to like this...
: I tried it and it works perfectly.
: But why not just drop the external command and put the stat adjustments right in the item script, it might not be quite as neat, but it should work fine. (And if it doesn't, you'll know something's more basic is wrong.)
it works right into the script and spawned, just not with external. and for what im trying to do, having all the stat load and saves modularolarized into one script will be much better.
void load_slayer( void )
{
&defense = 5;
debug("defense should increase now");
&strength = 5;
debug("strength should increase now");
&magic = 5;
debug("magic should increase now");
}
debug:
Dink:Script 1stats is entered at offset 25.
Dink:MERROR: "&defense" unknown in 1stats, offset 72.
Dink:defense should increase now
Dink:strength should increase now
Dink:MERROR: "&magic" unknown in 1stats, offset 191.
Dink:magic should increase now
Dink:Script 1slayer is entered at offset 1869.
: I tried it and it works perfectly.
: But why not just drop the external command and put the stat adjustments right in the item script, it might not be quite as neat, but it should work fine. (And if it doesn't, you'll know something's more basic is wrong.)
it works right into the script and spawned, just not with external. and for what im trying to do, having all the stat load and saves modularolarized into one script will be much better.
void load_slayer( void )
{
&defense = 5;
debug("defense should increase now");
&strength = 5;
debug("strength should increase now");
&magic = 5;
debug("magic should increase now");
}
debug:
Dink:Script 1stats is entered at offset 25.
Dink:MERROR: "&defense" unknown in 1stats, offset 72.
Dink:defense should increase now
Dink:strength should increase now
Dink:MERROR: "&magic" unknown in 1stats, offset 191.
Dink:magic should increase now
Dink:Script 1slayer is entered at offset 1869.