Chittering Clawbug Vox Posted September 8, 2013 Share Posted September 8, 2013 For all the great scripting minds out there, or anyone who has any clue about creature scripts. I'm struggling lately with creating a creature script that corresponds with a potion or even a wand for that matter, that can change the attitude of the creature. Currently I've tried creating a scen state that sets a flag, once the flag is set, I created a call in the creature script to change the attitude. Everything works, up until the creature script. This is what it looks like: beginstate INIT_STATE; if (get_flag(50,1) == 1) set_attitude(ME,3); break; For some reason, START_STATE doesn't recognise the get_flag call. So it wont work in there. This seems to work in the INIT_STATE, but only before entering a town with that creature. But if I enter a town, and then use the supposed item which changes the flag, it won't have an effect on the creature's attitude until i leave and come back. Does anyone have a work around? or solution to this matter? perhaps an alternative method? or even a cookie? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.