setCuratorCoef: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
Lou Montana (talk | contribs) m (Wiki code cleanup) |
||
Line 5: | Line 5: | ||
|1.16 | |1.16 | ||
|serverExec= server | |serverExec= server | ||
|gr1= Curator | |gr1= Curator | ||
Line 15: | Line 15: | ||
|p1= curatorObj: [[Object]] - Curator module. | |p1= curatorObj: [[Object]] - Curator module. | ||
|p2= | |p2= action: [[String]] | ||
|p3 | |p3= coef: [[Number]] or [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
Line 31: | Line 29: | ||
| mp= Can be executed only on server | | mp= Can be executed only on server | ||
}} | }} | ||
<!-- CONTINUE Notes --> | <!-- CONTINUE Notes --> | ||
Line 43: | Line 35: | ||
<dt class="note">[[User:Austin medic|Austin medic]]</dt> | <dt class="note">[[User:Austin medic|Austin medic]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
Possible actions are: | Possible actions are: | ||
* place | |||
* edit | |||
place | * delete | ||
edit | * destroy | ||
delete | * group | ||
destroy | * synchronize | ||
group | |||
synchronize | |||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 21:24, 22 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: 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