830
edits
(→ai2_) |
|||
Line 9: | Line 9: | ||
Put usage of <tt>fork</tt> here. | Put usage of <tt>fork</tt> here. | ||
==Native functions== | ==Native functions== | ||
Note the following were originally compiled by [http://www6.fh-eberswalde.de/user/dkriesch/onistuff/commands.htm ssg] | |||
Line structure: script command [parameter] - description - example | |||
Parameter: | |||
*parameter you have to use this parameter | |||
*[parameter] IMO, this parameter is an option. You can use it or not. | |||
*(null) type only the script command, nothing else | |||
*no parameter given type the script command and add = 0 or = 1 (sometimes you can add higher numbers, f.e. cm_distance = 200) | |||
*Commands surrounded with '''*''' An example, which I've tried and which works fine. (Examples without the *, you can find in the level scripts. If there is no example given, so either I've tested it, but there was no visible effect, or I haven't tested it, because I was to lazy or to stupid to understand the meaning of the command or something else;-) | |||
*Commands surrounded with '''**''' The same as above, but you have to activate the developer mode. | |||
===ai2_=== | ===ai2_=== | ||
'''Commands which have an effect on all AIs:''' | '''Commands which have an effect on all AIs:''' |
edits