Gamestudio Links
Zorro Links
Newest Posts
bar time, right side open or close?
by qin. 01/02/26 02:15
long time to load data
by qin. 12/31/25 09:57
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (SBGuy), 2,966 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
EntToPoint? #248066
01/24/09 11:04
01/24/09 11:04
Joined: Jan 2009
Posts: 25
Germany Augsburg bei München
T
Tobias2465 Offline OP
Newbie
Tobias2465  Offline OP
Newbie
T

Joined: Jan 2009
Posts: 25
Germany Augsburg bei München
Deutsch:
Hallo
Gibts hier sowas wie ein EntToPoint iwi?
zB. möchte ich machen wenn ein enity da ist dann passiert das:
if(EntPlayerToPoint(me,x,y,z)
Danke


Thanks for your help
Re: EntToPoint? [Re: Tobias2465] #248071
01/24/09 11:45
01/24/09 11:45
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Du möchtest wissen ob eine spezielle entity an einer bestimmten stelle ist?
Schau dir mal: vec_dist an
http://www.conitec.net/beta/avec_dist.htm

Beispiel:
Code:
if(vec_dist(my.x,player.x) <= 10)
{
  // do something
}



Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1