Ineffable Wingbolt Dahak Posted December 29, 2007 Posted December 29, 2007 For the add_char_to_party call I get a bad term in expression on line 78. For the place_monster call I also get a bad term in expression on line 83. Ideas? The syntax matches my BoA Appendix. Code: if ( is_combat() == FALSE && has4_left == TRUE && npc4_type == creature_type(86) && npc4_name == npc4_name_check) { add_char_to_party(86); //Set dummy placeholder for NPC 4 //Creature Type 0 should be invisible. Be careful to not accidently kill it outside of combat using a mass-kill. //IMPORTANT! Replace ?,? with the x,y coordinates of a location the party cannot walk. place_monster(0,0,1,1); //Creature 86 set_attitude(86,4); set_mobility(86,0); } Quote
Understated Ur-Drakon Celtic Minstrel Posted December 29, 2007 Posted December 29, 2007 Which lines are the problem? I know you gave the line numbers, but I have no way of knowing which lines they are in your sample. Quote
Magnificent Ornk Kelandon Posted December 30, 2007 Posted December 30, 2007 He also mentioned the calls that are causing the problem. Look to the lines with those calls. Nothing immediately obvious, as far as I can tell. Quote
Ineffable Wingbolt Dahak Posted December 30, 2007 Author Posted December 30, 2007 String variable comparison. Can't be done. Thus the break. Quote
Well-Actually War Trall Ishad Nha Posted December 30, 2007 Posted December 30, 2007 I would put all statements in the first line inside their own pair of brackets. As for adding a character, it uses the Character ID (which can be up to 30,000?)not the town number (which is always in the range 6 thru 80) Quote
Ineffable Wingbolt Dahak Posted December 30, 2007 Author Posted December 30, 2007 That isn't what broke it. I found the problem and others and fixed them. Like I said this error I posted about was because I tried to compare tow strings which can't be done. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.