setCuratorCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {3,}\|" to " |")
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= [action,coef]: [[Array]]
|p2= action: [[String]]


|p3= action: [[String]]
|p3= coef: [[Number]] or [[Boolean]]
 
|p4= coef: [[Number]] or [[Boolean]]


| [[Nothing]]
| [[Nothing]]
Line 31: Line 29:
| mp= Can be executed only on server
| mp= Can be executed only on server
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<!-- 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:
<br>
* place
<br>
* edit
place <br>
* delete
edit<br>
* destroy
delete<br>
* group
destroy<br>
* synchronize
group<br>
synchronize<br>
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 22:24, 22 January 2021

Hover & click on the images for description

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