Reply to Re: external question
If you don't have an account, just leave the password field blank.
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.
------
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.