Jump to content


Photo

thief script


  • Please log in to reply
2 replies to this topic

#1 guenthar

guenthar
  • Member
  • 39 posts

Posted 23 February 2011 - 08:07 PM

I have a thief script that has the thief scearch for traps all of the time but the character won't participate in combat without manually having the character attack. Is there a script that has the character search for traps all of the time except when combat starts and they will attack either spellcasters or the nearest enemy in that order?

#2 guenthar

guenthar
  • Member
  • 39 posts

Posted 23 February 2011 - 08:35 PM

Nevermind I just found one that is close enough to what I want. (the NMRF script mod)

#3 Morkfel

Morkfel
  • Member
  • 11 posts

Posted 13 July 2011 - 01:54 PM

Nevermind I just found one that is close enough to what I want. (the NMRF script mod)


Something like this:

IF
ActionListEmpty() // If not already doing something - no interruptions
!See(NearestEnemyOf(Myself)) // Don't bother when enemies around
CheckStatGT(Myself,1,TRAPS) // Actually have the skill?
THEN
RESPONSE #100
FindTraps() // Turn on the modal
Continue() // carry on to the rest of the script rather than restarting
END



You may also want to check what is available for whatever version of the IE you're using regarding modal abilities. I could not (recently) get detect traps to work in PST, and I recall it being broken in scripting during some of the other games. You will want to add, if possible, a modal check to the start of the block.