setCuratorCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr1= Curator |GROUP1=
|gr1= Curator |GROUP1=
____________________________________________________________________________________________


| 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). |DESCRIPTION=
____________________________________________________________________________________________


| curatorObj '''setCuratorCoef''' [action,coef] |SYNTAX=
| curatorObj '''setCuratorCoef''' [action,coef] |SYNTAX=
Line 30: Line 27:
|x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code>|EXAMPLE2=  
|x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code>|EXAMPLE2=  


____________________________________________________________________________________________


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


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



Revision as of 02:29, 17 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

Notes

Bottom Section


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

place
edit
delete
destroy
group
synchronize