

Lasttargetkind - class of last purpose (1 - item 2 - ground 3 - static's or water) (i.e. Lasttargetx - coordinate of last purpose Lasttargetid - identifier of last purpose Lastobjecttype - type of last used object Lastobjectid - identifier of last used object Set timer // establishes value timer in 0Ĭhardir - direction of a sight of the character (where the character revolves)Ġ - the character looks at north, everyone 45 degrees of turn clockwise add 1. Can be used practically in any operators and combinations. Timer - considers(counts) quantity(amount) ms from a beginning of performance of the script. The note 2: For correct definition by the Pilot of the majority of parameters of the character at you on the UO screen the Character Status window should be opened. The note 1: means, that you can change value by this variable in the scripts through the command 'set', all others variable only for reading The change variable occurs synchronously to a character set. Variable during performance of the script can be changed through the table of display variable. #i.2 - we address to variable #i from the script which is taking place in a window number 2.

Syntax of the instruction such variable following: In the command 'set' you can use the generator of random numbers: random (number) returns number in a range from 0 up to number-1Īt two or more started scripts you can address to variable, certain in other scripts of the pilot. if line variable, contains line performance of an integer, it can be used as numerical variable.

at giving something line variable, it all is appropriated up to the end of a line, with the appropriate replacements

With line variable some mathematical operations are possible: At division the result is approximated to smaller whole. The following operations are supported: +, -, *, /, also you can use brackets for change of priorities of performance of mathematical operations. Variable change only at participation 'set' and 'for', the command 'repeat' uses value, not changing it.īetween a mark of operation and values there should be a separator. Symbols *, $, %, +, -, *, /, >,, %arr īefore use variable in the scripts you should define it through the command 'set'. The words consist of symbols 0-9, À-z, À-ÿ. If the first word in a line not the command - the line is considered as the comment. The first word in a line - command, other words - parameters. In one line there can be only one command. Be attentive at use of earlier versions of the program. The given documentation contains the description of language of the scripts of the program UOPilot of the version 1.07 beta 5.
