setCuratorCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
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|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16


|serverExec= server| =
|serverExec= server| =


|gr1= Curator |GROUP1=
|gr1= Curator


| Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action). |DESCRIPTION=
| Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).


| curatorObj '''setCuratorCoef''' [action,coef] |SYNTAX=
| curatorObj '''setCuratorCoef''' [action,coef]


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


|p2= [action,coef]: [[Array]] |PARAMETER2=
|p2= [action,coef]: [[Array]]


|p3= action: [[String]] |PARAMETER3=
|p3= action: [[String]]


|p4= coef: [[Number]] or [[Boolean]] |PARAMETER4=
|p4= coef: [[Number]] or [[Boolean]]


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


|x1= <code>curatorModule setCuratorCoef ["Place", 1]</code>|EXAMPLE1=
|x1= <code>curatorModule setCuratorCoef ["Place", 1]</code>


|x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code>|EXAMPLE2=
|x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code>




| [[Curator]] |SEEALSO=
| [[Curator]]


| mp= Can be executed only on server |MPBEHAVIOUR=
| mp= Can be executed only on server
}}
}}



Revision as of 12:09, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).
Multiplayer:
Can be executed only on server
Groups:
Curator

Syntax

Syntax:
curatorObj setCuratorCoef [action,coef]
Parameters:
curatorObj: Object - Curator module.
[action,coef]: Array
action: String
coef: Number or Boolean
Return Value:
Nothing

Examples

Example 1:
curatorModule setCuratorCoef ["Place", 1]
Example 2:
curatorModule setCuratorCoef ["Delete", -1e10]

Additional Information

See also:
Curator

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


Posted on March 25, 2015 - 21:46 (UTC)
Austin medic
Possible actions are:

place
edit
delete
destroy
group
synchronize