SendOnFootSyncDataLV: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
desc= Modify angle, health or weapon of npc and calling function will make it reflect in server. LV means Local Value or Last Values. It can be modified using [[SetLocalValue]]| | desc= Modify angle, health or weapon of npc and calling function will make it reflect in server. LV means Local Value or Last Values. It can be modified using [[SetLocalValue]]| | ||
params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight> | | params=<syntaxhighlight lang="lua">NoParams</syntaxhighlight> | | ||
example=Please see [[Attack Script]] for working examples| | example= | ||
<poem> | |||
::Please see [[Attack Script]] for working examples | |||
</poem>| | |||
note=This was added in v1.5 and will not work in previous builds. I_CURWEP, F_ANGLE and I_KEYS are what are called [[Field| fields]].| | note=This was added in v1.5 and will not work in previous builds. I_CURWEP, F_ANGLE and I_KEYS are what are called [[Field| fields]].| | ||
relfuncs=*[[SendOnFootSyncData]]| | relfuncs=*[[SendOnFootSyncData]]| | ||
}} | }} |
Latest revision as of 08:47, 23 December 2022
Description:
Modify angle, health or weapon of npc and calling function will make it reflect in server. LV means Local Value or Last Values. It can be modified using SetLocalValue
Parameters:
NoParams
Return Values:
This function does not return any specific values.
Important Note:
This was added in v1.5 and will not work in previous builds. I_CURWEP, F_ANGLE and I_KEYS are what are called fields.
Example
Please see Attack Script for working examples
Related Functions
The following functions may be helpful as they relate to this function in one way or another.