Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 8,567 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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