|
Arma Reforger Script API
|
Public Member Functions | |
| bool | HasConstrainedGeneration () |
| Returns true if the action has constrained generation of resources. | |
| float | ComputeGeneratedResources (notnull SCR_ResourceGenerator generator, float resourceValue) |
| Returns the amount of possible generated resources. | |
| void | PerformAction (notnull SCR_ResourceGenerator generator, inout float resourceValue) |
| Performs the action for generation of resources. | |
| float SCR_ResourceGeneratorActionBase.ComputeGeneratedResources | ( | notnull SCR_ResourceGenerator | generator, |
| float | resourceValue ) |
Returns the amount of possible generated resources.
| [in] | generator | The generator that the action is being computed on. |
| [in] | resourceValue | The resource value that is to be generated. |
Implemented in SCR_ResourceGeneratorActionDropContainers, and SCR_ResourceGeneratorActionStore.
| bool SCR_ResourceGeneratorActionBase.HasConstrainedGeneration | ( | ) |
Returns true if the action has constrained generation of resources.
Implemented in SCR_ResourceGeneratorActionDropContainers.
| void SCR_ResourceGeneratorActionBase.PerformAction | ( | notnull SCR_ResourceGenerator | generator, |
| inout float | resourceValue ) |
Performs the action for generation of resources.
Override this method in order to decide how to generate resources.
| [in] | generator | The generator that the action is being performed on. |
| [in,out] | resourceValue | The resource value that is to be used with the action. |
Implemented in SCR_ResourceGeneratorActionDropContainers, and SCR_ResourceGeneratorActionStore.