addCuratorPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.16


|1.16|= Game version
|gr1= Curator
____________________________________________________________________________________________


| Adds or removes curator points. |= Description
|serverExec= server
____________________________________________________________________________________________


| curatorObj '''addCuratorPoints''' points |= Syntax
|descr= Adds or removes curator points. Points can be only in range from 0 to 1.


|p1= curatorObj: [[Object]] - Curator module.  |= PARAMETER1 
|s1= curatorObj [[addCuratorPoints]] points


|p2= points: [[Number]] |= PARAMETER2
|p1= curatorObj: [[Object]] - curator module.


| [[Nothing]] |= RETURNVALUE
|p2= points: [[Number]]


|r1= [[Nothing]]


|x1= <code>curatorModule addCuratorPoints 0.5</code>|= EXAMPLE1
|x1= <sqf>curatorModule addCuratorPoints 0.5;</sqf>


____________________________________________________________________________________________
|seealso= [[Arma 3: Curator]] [[curatorPoints]]
 
|  |= SEEALSO
 
|= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Curator|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:00, 8 November 2023

Hover & click on the images for description

Description

Description:
Adds or removes curator points. Points can be only in range from 0 to 1.
Groups:
Curator

Syntax

Syntax:
curatorObj addCuratorPoints points
Parameters:
curatorObj: Object - curator module.
points: Number
Return Value:
Nothing

Examples

Example 1:
curatorModule addCuratorPoints 0.5;

Additional Information

See also:
Arma 3: Curator curatorPoints

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note