6thSense.eu/EG – Talk
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)
Nice work, but ...
I can't see that time or weather is automatical send to JIPs, after some hours of dark starting gameplay a JIP starts also in the dark
The Commands Setfuel, Lock, SetVehicleArmor ... arn't activated by any machine, expect the machine where this vehicle is holded. (Driver, Gunner or Commander if Player or the Server if is AI)
Otherwise this effects doesn't have a global effekt like setpos or setdamage
I had massive problems with them if they were executed from a personal Useraction and have use tricks to work without any problems !
(Of cause, fuel give the correct value from any machine, but setfuel doesn't set it so !)--Lester 15:33, 28 January 2008 (CET)
@Lester:
My experience is as follows: Mission time in editor = 04:00. We start mission, we play 60 minutes. Someone else joins. His time is just like ours: 05:00. The same seems to be for weather settings set in the Editor. When a jip player joins, the time of day, mission time, and weather settings are used to calculate the current weather.
Again, the problem is in manually manipulation, by using setDate, skipTime, setOvercast or setFog, your JIP player will be out of sync, unless you use time/weather synchronization on your own.
I will be looking into the rest you posted, I probably will include it within the guide.
@Doolittle:
Thanks mate, will work out the details into the wiki
--Sickboy 12:06, 29 January 2008 (CET)