Fred Gandt/sandbox – User
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) (Playing with layout and shiz (I appear to have caught another cold too -_- )) |
Fred Gandt (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
| ofp |= Game name | | ofp |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | |||
|arg= global |= Arguments in MP | |arg= global |= Arguments in MP | ||
Line 19: | Line 20: | ||
| [[Number]] (from <tt>0</tt> to <tt>4</tt>) |= Return value | | [[Number]] (from <tt>0</tt> to <tt>4</tt>) |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_kv = _soldierOne [[knowsAbout]] _jeepOne;</code> |= Example 1 | |x1= <code>_kv = _soldierOne [[knowsAbout]] _jeepOne;</code> |= Example 1 | ||
____________________________________________________________________________________________ | |||
|x2= <code>_kv = ([[side]] [[player]]) [[knowsAbout]] _target;</code> |= Example 2 | |x2= <code>_kv = ([[side]] [[player]]) [[knowsAbout]] _target;</code> |= Example 2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |mp= Although the command works only properly if <tt>unit</tt> is local, <tt>target</tt> can be located on any computer of the network. |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 132: | Line 132: | ||
Can also use SIDE in place of UNIT. For example: | Can also use SIDE in place of UNIT. For example: | ||
<code>EAST knowsAbout player;</code> |= Notes | <code>EAST knowsAbout player;</code> | ||
Equals signs look like this <tt>=</tt>, whereas pipes are troublesome. |= Notes | |||
____________________________________________________________________________________________ | |||
| [[nearTargets]], [[reveal]] |= See also | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||