Init.sqs – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search

An init.sqf file may be used instead of the init.sqs. Not sure if the article should be moved or just added to. --pyro05x 07:59, 7 February 2007 (CET)

Add it, as the init.sqs is still working. :) --raedor 15:24, 7 February 2007 (CET)

And if there're both sqs&sqf what happens ? What is executed first ? --bdfy

I don't know, test it :P --raedor 23:35, 7 February 2007 (CET)
Just tried it and it seems SQF is executed first. ++Str 15:17, 8 February 2007 (CET)
First or only? --Ceeeb
First. Executed are both of them. ++Str 16:13, 8 February 2007 (CET)
so the execution of the init.sqs is delayed until init.sqf is done? --pyro05x 01:33, 13 February 2007 (CET)

Hmm, seems to execute for each player that joins, as oppose to once at the beginning of the mission... --BarmyArmy, 09:32, 14 April 2007

Unless something has changed recently, it shouldn't. --Kronzky 17:17, 14 April 2007 (CEST)
I also noticed that the init is executed for every player that joins. Probably it is the mission start for him. --T_D 14:36, 15 April 2007 (CEST)
I believe Suma was mistaken in what he wrote there. Executing init for JIP players is much better from a mission editing POV anyway. I sent him a message about it a while ago and he said he'd investigate but heard nothing back so hopefully the current behaviour is here to stay. --Salisan 19:25, 15 April 2007 (CEST)

JIP and INIT.SQS/F

Further investigation shows that init.sqs is NOT run for JIP ( Join-game-in-progress) players. Certainly not on a dedicated server.

Which is rather irritating.

Template:UnsignedComment

If I recall correctly, the init.sqs is never run on any other machine than the server. -- Manny 01:43, 7 May 2007 (CEST)