Yes, but I am spawning the critter(s) via a map script, so I have to reference them and can't use self_obj. Should have written that before, though.
Lexx said:Yes, but I am spawning the critter(s) via a map script, so I have to reference them and can't use self_obj. Should have written that before, though.
Lexx said:Though, sooner or later I will have to rewrite parts of my scripts anyway... Everything becomes very bloated and hackery because of all the things that can change and influence each other, which was added by me in later script sessions. A bit annoying.
variable gun;
gun:=obj_carrying_pid_obj(dude_obj, PID_FLAMER);
wield_obj_critter(dude_obj, gun);
...
destroy_obj_inven(gun);
ValThrowing:=(get_critter_stat(dude_obj,SKILL_THROWING));
variable FruitTest;
FruitTest:=dude_item_count(PID_MUTATED_FRUIT);