Having read this http://www.pocketpla.../simscript.html
I could understand the whole guide, except for the 3 things that I'm going to ask..
Question number 1:
If my ONLY trigger is a StateCheck, will using a LastSeen automatically target the object of this StateCheck ?? (whether I wish it or not right??)
Question number 2:
In the guide mentioned above, open search field and paste sentence:
NearestEnemyOf and NearestEnemyOfType.
A very BIG block right under this part.. with lots of RandomNumGT (for 20, and later for 10), is 20 and 10 rolled for every instance of OR(3) along the block, or are these rolled 'only once' and the result used for the entire sequence of OR(3) in the block ???
And finally 3rd question: (which is a result of questions 1 and 2)
The same block I mentioned above starts with:
IF
OR(3)
StateCheck(NearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]),STATE_HELPLESS)
!See(NearestEnemyOfType([GOODCUTOFF.0.0.SORCERER]))
RandomNumGT(20,5)
OR(3)
blablabla...
So, provided he can see the nearest sorcerer in party, this sorcerer is not helpless, and the number rolled is inferior to 5 (25% chance), this failure will invalidate the whole block thus making the script jump to the next block ??¿¿
Isn't that actually contrary to what this example was meant to demonstrate (priority targeting?)?
If not please explain why make an elaborate block that gets skipped 25% of the time.. so long as there is a sorcerer - and further in the block a mage - in the party. This logic gets me very confused..
Maybe (probably) I completely misunderstood... also if I wasn't clear on some points, let me know and will try to elaborate again.
Any and all help is immensely appreciated
(edit: better explained.. hopefully ^^)
Edited by Himself, 19 January 2010 - 09:50 AM.














