Author Topic: Is it possible...  (Read 546 times)

0 Members and 1 Guest are viewing this topic.

Offline BingBong

  • Major(1)
  • Posts: 12
Is it possible...
« 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)

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Is it possible...
« Reply #1 on: December 21, 2007, 04:20:16 am »
Sorry, but no. Script's can't get the current position of a bullet.

Offline KwS Pall

  • Major(1)
  • Posts: 49
  • I'm going to write Tibia for Soldat
Re: Is it possible...
« Reply #2 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...
I'm going to write Tibia for Soldat

Offline BingBong

  • Major(1)
  • Posts: 12
Re: Is it possible...
« Reply #3 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