Jump to content
Sign in to follow this  
BEAKSBY

onPlayerRespwan clarification....help.

Recommended Posts

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

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 by waltenberg

Share this post


Link to post
Share on other sites

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
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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×