setCuratorCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dl class="command_description"> <dt></dt>" to "<dl class="command_description"> <dt></dt>")
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
Line 11: Line 11:
| 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]
|s1=  curatorObj '''setCuratorCoef''' [action,coef]


|p1= curatorObj: [[Object]] - Curator module.
|p1= curatorObj: [[Object]] - Curator module.

Revision as of 00:19, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
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:
See also needed

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