Difference between revisions of "VN ms fnc tracker getHiddenPos"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= global |
|e= | |e= | ||
Line 12: | Line 11: | ||
|g1= tracker | |g1= tracker | ||
− | |d= | + | |d= Search for hidden postion around target position. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |s= [pos, minDistance] call [[VN_ms_fnc_tracker_getHiddenPos]] | |
− | |||
− | + | |p1n= pos | |
− | + | |p1t= {{Biki|String}} or {{Biki|Position}} or {{Biki|Object}} | |
− | + | |p1d= target position | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |p1d= | ||
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= minDistance |
− | |p2t= | + | |p2t= number |
− | |p2d= | + | |p2d= distance from ''pos'' |
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= position |
− | |r1d= | + | |r1d= found position |
− | |x1= <code> | + | |x1= <code>[getPos player, 150] call [[VN_ms_fnc_tracker_getHiddenPos]];</code> |
}} | }} |
Latest revision as of 15:38, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Search for hidden postion around target position.
Syntax
- Syntax
- [pos, minDistance] call VN_ms_fnc_tracker_getHiddenPos
- Parameters
- pos: String or Position or Object - target position
- minDistance: Number - distance from pos
- Return value
- Position - found position
Examples
- Example 1
[getPos player, 150] call VN_ms_fnc_tracker_getHiddenPos;