setCuratorCoef: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.16 | |||
| | |serverExec= server | ||
| | |gr1= Curator | ||
| | |descr= Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action). | ||
| | |s1= curatorObj [[setCuratorCoef]] [action, coef] | ||
| curatorObj | |p1= curatorObj: [[Object]] - curator module | ||
| | |p2= action: [[String]] - can be one of: | ||
* "Place" | |||
* "Edit" | |||
* "Delete" | |||
* "Destroy" | |||
* "Group" | |||
* "Synchronize" | |||
| | |p3= coef: [[Number]] or [[Boolean]] | ||
| | |r1= [[Nothing]] | ||
| | |x1= <sqf>curatorModule setCuratorCoef ["Place", 1];</sqf> | ||
| [ | |x2= <sqf>curatorModule setCuratorCoef ["Delete", -1e10];</sqf> | ||
| | |seealso= [[Arma 3: Curator]] | ||
}} | }} | ||
Latest revision as of 14:00, 8 November 2023
Description
- Description:
- Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).
- Groups:
- Curator
Syntax
- Syntax:
- curatorObj setCuratorCoef [action, coef]
- Parameters:
- curatorObj: Object - curator module
- action: String - can be one of:
- "Place"
- "Edit"
- "Delete"
- "Destroy"
- "Group"
- "Synchronize"
- coef: Number or Boolean
- Return Value:
- Nothing
Examples
- Example 1:
- curatorModule setCuratorCoef ["Place", 1];
- Example 2:
- curatorModule setCuratorCoef ["Delete", -1e10];
Additional Information
- See also:
- Arma 3: 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