View Single Post
Old 10-14-2002, 07:22 AM   #19
White Lancer
Drizzt Do'Urden
 

Join Date: August 30, 2002
Location: Australia
Age: 40
Posts: 628
Quote:
Originally posted by Dundee Slaytern:
Personally I use SecondNearestEnemyOf() for Melf's Acid Arrow to make it more random since enemies move around.

ADD] Personally, I regret not doing a fighter script first as that would be soooo much easier to do as all I need to add it to make them drink healing potions and antidotes when necessary.

Custom AI Scripts rock! Now... if only I can figure out how to implement my PRATI tactic into an AI script... then I can play BG2 as though it is a movie. [img]tongue.gif[/img]
Hmm. i've seen others using TenthNeasrestEnemyOf(), i dont know what these actually do, but im guessing it choses randomly from the ten closest enemies?

Fighter scripts... no point, i never use fighters

LOL, not quite playable as a movie, you still have to talk to people and tell your mage/sorc where to walk.

ADD] BTW, do you think this would work?

IF
ActionListEmpty() //not doing anything
!StateCheck(Myself,STATE_STONESKIN) //not stoneskin-ed
HaveSpell(WIZARD_STONESKIN) //have stonskin
THEN
RESPONSE#100 //always
Spell(Myself,WIZARD_STONESKIN) //cast stoneskin
END

[ 10-14-2002, 07:28 AM: Message edited by: White Lancer ]
__________________
It deons\'t mttaer waht oredr the ltteers in a wrod are, it olny mtaetrs taht the frsit and lsat ltteer be croecrt. The rset can be a tatol mses and you can sitll raed it. The huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
White Lancer is offline   Reply With Quote