addCuratorPoints: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.16


|1.16
|gr1= Curator


|gr1= Curator
|serverExec= server


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


| curatorObj '''addCuratorPoints''' points
|s1= curatorObj [[addCuratorPoints]] points


|p1= curatorObj: [[Object]] - Curator module.
|p1= curatorObj: [[Object]] - curator module.


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


| [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <code>curatorModule addCuratorPoints 0.5</code>
 


| [[Curator]], [[curatorPoints]]
|x1= <sqf>curatorModule addCuratorPoints 0.5;</sqf>


| mp= Can be executed only on server
|seealso= [[Arma 3: Curator]] [[curatorPoints]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{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