BEAKSBY 11 Posted September 7, 2014 Hi Folks, I've placed this inside my initPlayerLocal.sqf waitUntil {!isNull player}; player addEventHandler ["Respawn", {_this execVM "onPlayerRepawn.sqf"}]; Then when I run the mission I get a "cannon find "onPlayerRepawn.sqf"" message...yet is still runs the content of my "onPlayerRepawn.sqf"? Do I have to define the class in the description folder somewhere or something? Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 7, 2014 (edited) Well, we've got "respwan" in the question title, a "repawn" in the execVM command, but no "respawn" where it's supposed to be. ^_^ So I'd guess your file is called "onPlayerRespawn.sqf", isn't it? Since you didn't post what this file looks inside, I can just assume that it might appear as if the file was executed as it might be similar to a "default" respawn. Edited September 7, 2014 by waltenberg Share this post Link to post Share on other sites
BL1P 35 Posted September 7, 2014 onPlayerRespawn.sqf is auto ran by the game and doesn't need to be called onPlayerRespwan.sqf is not auto ran by the game and does need to be called onPlayerRepawn.sqf is the name of a chinese takeaway and does need to be called 1 #53 Share this post Link to post Share on other sites
BEAKSBY 11 Posted September 7, 2014 onPlayerRespawn.sqf is auto ran by the game and doesn't need to be called onPlayerRespwan.sqf is not auto ran by the game and does need to be called onPlayerRepawn.sqf is the name of a chinese takeaway and does need to be called 1 #53 Thanks, this made my day!:) Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 8, 2014 onPlayerRespawn.sqf is auto ran by the game and doesn't need to be called onPlayerRespwan.sqf is not auto ran by the game and does need to be called onPlayerRepawn.sqf is the name of a chinese takeaway and does need to be called 1 #53 Epic! XD Share this post Link to post Share on other sites
Larrow 2820 Posted September 8, 2014 :D Very good Bl1p Handy link EventScripts and is always good to check when they happen with initialization order in some cases. Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 8, 2014 lol, wut? SQS scripts are still supported in Arma 3? Why that? Nobody uses SQS anymore, do they? Share this post Link to post Share on other sites