Xenosis

Load script only when a new player

6 posts in this topic

Hello

I'm playing around with a script I want to be loaded when the player respawns a new character in bambi state.

I don't know anything about programming in arma, but I've tried a few things after searching around and look at other mods, but I'm still unable to only load the script when the player spawns a new character and is ready(i have disabled parachute).

I can only get the script to load when the spawn selection menu is showing and it then loads at every reconnect..

These is my failed attempts:

	if (ExileClientPlayerIsBambi) then 
{
	if (alive player) then
	{
	code
	};
};

also tried something like this:

if ( alive player && ! isTouchingGround player ) then {
code
};

I'm loading the script using initPlayerLocal.sqf like this:

player execVM "BambiRespawn.sqf";?

Can anyone tell me how I get it to only load when your a new bambi character?

Edited by Xenosis

Share this post


Link to post
Share on other sites
Advertisement

Thanks for the reply

Tried adding the code same place as yours, but was unble to get it to work..

I might need some help from someone that knows programming..

If anyone want to help please PM me, and I will send the script and everything you need..

Share this post


Link to post
Share on other sites
1 hour ago, Xenosis said:

Thanks for the reply

Tried adding the code same place as yours, but was unble to get it to work..

I might need some help from someone that knows programming..

If anyone want to help please PM me, and I will send the script and everything you need..

what are you trying to achieve? just write it here, then we can help. :D 

Share this post


Link to post
Share on other sites

I actually want to do multiple things, when I figure out how to load the scripts.

Like a welcome/quick guide message, also I'm playing around with the virtual arsenal..

But it's just too frustrating to me making a topic about it and wait 12+ hours between replies/answers..

So I will much more prefer a 5-10 min conversation on skype...

If necessary I'm willing to pay $$$ if someone can help me getting this to work.

Share this post


Link to post
Share on other sites
1 hour ago, Xenosis said:

I actually want to do multiple things, when I figure out how to load the scripts.

Like a welcome/quick guide message, also I'm playing around with the virtual arsenal..

But it's just too frustrating to me making a topic about it and wait 12+ hours between replies/answers..

So I will much more prefer a 5-10 min conversation on skype...

If necessary I'm willing to pay $$$ if someone can help me getting this to work.

OK do take a look at a few scripts and how they load up. Intro welcome msg is one, GR8 makes one too, many people try different things.

Also if your looking for a load out script, or anything there is ways to do this, search the exile scripts, addons you will find one.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.