1,482
edits
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Actor Function FindRandomActor(float afX, float afY, float afZ, float afRadius) native global | Actor Function FindRandomActor(float afX, float afY, float afZ, float afRadius) native global | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 20: | Line 20: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Find a random actor to 0,0,0, limiting the search to 5 units | ; Find a random actor to 0,0,0, limiting the search to 5 units | ||
Actor randomActor = Game.FindRandomActor(0.0, 0.0, 0.0, 5.0) | Actor randomActor = Game.FindRandomActor(0.0, 0.0, 0.0, 5.0) | ||
</ | </syntaxhighlight> | ||
== See Also == | == See Also == | ||