remoteExecCall: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) (Page cleanup) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
Line 8: | Line 6: | ||
|gr1= Multiplayer | |gr1= Multiplayer | ||
|descr= [[Scheduler|Unscheduled]] version of [[remoteExec]]. | |descr= [[Scheduler|Unscheduled]] version of [[remoteExec]]. The only difference between [[remoteExec]] and [[remoteExecCall]] is that [[remoteExecCall]] will run '''functions''' in [[Scheduler#Unscheduled Environment|unscheduled environment]]. | ||
{{Feature|important| | |||
{{Feature|important|The "Call" in [[remoteExecCall]] | The "Call" in [[remoteExecCall]] only means that the remote execution will take place in [[Scheduler#Unscheduled Environment|unscheduled environment]] and does '''not''' mean it will happen right away (see {{HashLink|#Example 3}}).}} | ||
|s1= | |s1= see [[remoteExec]] | ||
|p1= | |p1= see [[remoteExec]] | ||
| | |r1= see [[remoteExec]] | ||
| | |x1= <code>["hello"] [[remoteExec]] ["hint"]; {{cc|runs unscheduled}} | ||
["hello"] [[remoteExecCall]] ["hint"]; {{cc|no difference at all}}</code> | |||
| | |x2= <code>["my message"] [[remoteExec]] ["BIS_fnc_infoText"]; {{cc|correct}} | ||
["my message"] [[remoteExecCall]] ["BIS_fnc_infoText"]; {{cc|wrong - [[BIS_fnc_infoText]] needs a scheduled environment, see its [[spawn]] need}}</code> | |||
|x3= <code>[[remoteExecCall]] ["fnc1"]; | |||
[[call]] fnc2; {{cc|fnc1 may or may not be executed after fnc2}} | |||
[[call]] fnc1; | |||
[[call]] fnc2; {{cc|fnc2 will be executed after fnc1}}</code> | |||
|seealso= [[remoteExec]] [[remoteExecutedOwner]] [[isRemoteExecuted]] [[isRemoteExecutedJIP]] [[Arma 3: Remote Execution]] [[canSuspend]] [[BIS_fnc_MP]] | |seealso= [[remoteExec]] [[remoteExecutedOwner]] [[isRemoteExecuted]] [[isRemoteExecutedJIP]] [[Arma 3: Remote Execution]] [[canSuspend]] [[BIS_fnc_MP]] | ||
}} | }} | ||
{{GameCategory|arma3|Remote Execution}} | |||
Revision as of 11:28, 5 November 2021
Description
- Description:
- Unscheduled version of remoteExec. The only difference between remoteExec and remoteExecCall is that remoteExecCall will run functions in unscheduled environment.
- Groups:
- Multiplayer
Syntax
- Syntax:
- see remoteExec
- Parameters:
- see remoteExec
- Return Value:
- see remoteExec
Examples
- Example 1:
["hello"] remoteExec ["hint"]; // runs unscheduled ["hello"] remoteExecCall ["hint"]; // no difference at all
- Example 2:
["my message"] remoteExec ["BIS_fnc_infoText"]; // correct ["my message"] remoteExecCall ["BIS_fnc_infoText"]; // wrong - BIS_fnc_infoText needs a scheduled environment, see its spawn need
- Example 3:
remoteExecCall ["fnc1"]; call fnc2; // fnc1 may or may not be executed after fnc2 call fnc1; call fnc2; // fnc2 will be executed after fnc1
Additional Information
- See also:
- remoteExec remoteExecutedOwner isRemoteExecuted isRemoteExecutedJIP Arma 3: Remote Execution canSuspend BIS_fnc_MP
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