The Dink Network

Reply to Re: external 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:
 
 
August 31st 2002, 10:19 AM
girl.gif
joshriot
Peasant They/Them United States
keep it real 
main.c

------

make_global_int ("&strength",1);

make_global_int ("&defense",1);

make_global_int ("&magic",1);

item slayer

------

void arm()

{

external("stats","load_slayer");

}

stats.c

------

void load_slayer()

{

&strength = 4;

&defense = 4;

&magic = 4;

}

strength goes to 4, nothing else. the only thing i could guess is that start-1 could call the arm after getting the item before some other crucial command, but i can re-equip the item in-game and still no luck. i even tried making another item set &defense and &magic to 3 in arm and the load_slayer still doesnt get it to 4, it stays at 3. try this for yourself.