setCuratorCoef: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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
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