SetLocalValue: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=Sets local value like health or armour of npc without sending to server| params=<syntaxhighlight lang="lua">(field, value)</syntaxhighlight> <poem>::field : The...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Welcome|desc=Sets local value like health or armour of npc without sending to server| | {{Welcome|desc=Sets local value like health or armour of npc without sending to server| | ||
params=<syntaxhighlight lang="lua">(field, value)</syntaxhighlight> | params=<syntaxhighlight lang="lua">(field, value)</syntaxhighlight> | ||
<poem>::field : The field of npc's data to which the value is to be set | <poem>::field : The [[field]] of npc's data to which the value is to be set | ||
::value : ( float ) The value to be set.</poem>| | ::value : ( float ) The value to be set.</poem>| | ||
}} | }} |
Revision as of 21:00, 18 November 2022
Description:
Sets local value like health or armour of npc without sending to server
Parameters:
(field, value)
field : The field of npc's data to which the value is to be set
value : ( float ) The value to be set.
Return Values:
This function does not return any specific values.