6thSense.eu/EG – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(...)
Line 26: Line 26:
This is a great page! --[[User:Doolittle|Doolittle]] 17:18, 26 January 2008 (CET)
This is a great page! --[[User:Doolittle|Doolittle]] 17:18, 26 January 2008 (CET)


Indeed, cool stuff. --[[User:Raedor|raedor]] 15:42, 27 January 2008 (CET)
:Indeed, cool stuff. Some notes:
:* init.sqf/s are run during briefing until the first delay pops up
:* sleep/waituntil are only for sqf scripts, so they won't run in sqs or the situations you note. If they work in a sqf function depends on if they are called from a sqs or sqf script (basically, the ending says nothing, it depends on how a script is started: exec is "sqs script", call is "sqf function", execVM/spawn are "sqf script")
:* afaik triggers are created globally, but the trigger change commands are local  --[[User:Raedor|raedor]] 15:42, 27 January 2008 (CET)

Revision as of 15:49, 27 January 2008

Thanks So Much SickBoy!! This is an excellent contribution to the community. I use much of your addons.

I would like to add the following based on experience...

"To get a list of all (connected)player-objects in the mission"

should read...

"To get a list of all (alive)player-objects in the mission"

Because I have found that in the Six_Pack1 v0.4 -> 6thSense.eu:Pack1 when you die it does not count you during the 30-60 second respawn time set in our missions.

I know later in this very helpful article it says "The list is automatically cleared of dead players or players who left."

This is true and explains my experience above but my point is, if the mission writer's goal is to get an accurate up-to-the-minute snapshot of (connected) players (alive and/or dead) we had to use playersNumber However note that playersNumber apparently only works in Multiplayer mode which is what we use.

--ViperMaul 04:03, 24 January 2008 (CET)

Thanks Mate, edited. If you got more ideas to add or find anything inaccurate please let me know :)
--Sickboy 09:00, 24 January 2008 (CET)

This is a great page! --Doolittle 17:18, 26 January 2008 (CET)

Indeed, cool stuff. Some notes:
  • init.sqf/s are run during briefing until the first delay pops up
  • sleep/waituntil are only for sqf scripts, so they won't run in sqs or the situations you note. If they work in a sqf function depends on if they are called from a sqs or sqf script (basically, the ending says nothing, it depends on how a script is started: exec is "sqs script", call is "sqf function", execVM/spawn are "sqf script")
  • afaik triggers are created globally, but the trigger change commands are local --raedor 15:42, 27 January 2008 (CET)