Jump to content
guare88

Init for speed check

Recommended Posts

Hi guys,

I've found this video and I wanted to replicate this in editor to check speed of different stances. But I've got, when I start the scenario, a generic error and it doesnt work. What it is the problem?

 

https://www.youtube.com/watch?v=3iweirFEKrs

 

Thanks for better understanding

 

Cheers

Share this post


Link to post
Share on other sites

I wrapped that code in a spawn so it runs background, and it works for me.  I pasted the following into the debug console, and it works.

_dmy = [] spawn 
{
	while {true} do 
	{ 
		_speed = speed player ; hint format ["%1 KPH", _speed]; sleep 0.4; 
	};
};

 

  • Like 1

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

×