Lou Montana/Sandbox – User
Jump to navigation
Jump to search
Task | Exec Environment | Machine | ||||
---|---|---|---|---|---|---|
Single Player | Dedicated Server | Hosted Server | Multiplayer Client | JIP MP Client | ||
Functions with recompile attribute are recompiled
|
N/A | 1 | 1 | 1 | 1 | 1 |
Functions with preInit attribute are called
|
Unscheduled | 2 | 2 | 2 | 2 | 2 |
Object Init Event Handlers are called | Unscheduled | 3 | 3 | 3 | 3 | |
Expressions of Eden Editor entity attributes are called[1] | Unscheduled | 4 | 4 | 4 | ||
Object initialisation fields are called | Unscheduled | 5 | 5 | 5 | 4 | 3 |
init.sqs is executed | 6 | |||||
init.sqf is executed | Scheduled[2] | |||||
Expressions of Eden Editor scenario attributes are called[3] | Unscheduled | |||||
Persistent functions are called | ||||||
Modules are initialised | ||||||
initServer.sqf is executed | Scheduled | |||||
initPlayerLocal.sqf is executed | Scheduled | |||||
initPlayerServer.sqf is executed on the server | Scheduled | |||||
Functions with postInit attribute are called
|
Scheduled[2] | |||||
init.sqs is executed | Scheduled | |||||
init.sqf is executed | Scheduled | |||||
Scenario going | N/A | |||||
exit.sqf | ||||||
exit.sqs | ||||||
"Ended" Mission Event Handler | ||||||
"MPEnded" Mission Event Handler |
See Also
- Arma 3: Functions Library
- Arma 3: Remote Execution, BIS_fnc_MP
- Eden Editor: Configuring Attributes
- Event Scripts
- Scheduler
Notes
- ↑ isPlayer _entity does not return true immediately. Once the entity has become a player, it is transfered to the client.
- ↑ 2.0 2.1 Note in single player that while the environment is Scheduled (canSuspend returns true), the engine seems to wait until the script is done executing, essentially behaving similarly to an Unscheduled environment - infinite loops will freeze the game, uiSleep may pause the game for up to ~20s (postInit), waitUntil can cause catastrophic issues, etc.
- ↑ player is not available immediately.