setCuratorCoef: Difference between revisions
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 "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|serverExec= server| = | |serverExec= server| = | ||
|gr1= Curator | |gr1= Curator | ||
| Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action). | | 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] | | curatorObj '''setCuratorCoef''' [action,coef] | ||
|p1= curatorObj: [[Object]] - Curator module. | |p1= curatorObj: [[Object]] - Curator module. | ||
|p2= [action,coef]: [[Array]] | |p2= [action,coef]: [[Array]] | ||
|p3= action: [[String]] | |p3= action: [[String]] | ||
|p4= coef: [[Number]] or [[Boolean]] | |p4= coef: [[Number]] or [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>curatorModule setCuratorCoef ["Place", 1]</code> | |x1= <code>curatorModule setCuratorCoef ["Place", 1]</code> | ||
|x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code> | |x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code> | ||
| [[Curator]] | | [[Curator]] | ||
| mp= Can be executed only on server | | mp= Can be executed only on server | ||
}} | }} | ||
Revision as of 11:09, 18 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
- Posted on March 25, 2015 - 21:46 (UTC)
- Austin medic
-
Possible actions are:
place
edit
delete
destroy
group
synchronize