Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: BingBong on December 21, 2007, 03:41:13 am

Title: Is it possible...
Post by: BingBong on December 21, 2007, 03:41:13 am
To check if you shoot a health crate? im making an archery contest for my server

and if u shoot the crate u get points, but more points if the crate is further away

(like a crate close another one medium far another one very far)
Title: Re: Is it possible...
Post by: EnEsCe on December 21, 2007, 04:20:16 am
Sorry, but no. Script's can't get the current position of a bullet.
Title: Re: Is it possible...
Post by: KwS Pall on December 21, 2007, 05:13:28 am
You could replace crates with bots, so you can check if someone shoot to him...

for checking distane there is a function...
Title: Re: Is it possible...
Post by: BingBong on December 21, 2007, 07:25:17 pm
what i did have was flame bullets spawning to move the health crates. And bots  r 2 easy to aim at :P but i could do that