Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 1,390 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 4 1 2 3 4
Re: c_trace and shooting projectile help [Re: immolat3] #168176
11/22/07 19:53
11/22/07 19:53
Joined: Nov 2007
Posts: 73
I
immolat3 Offline OP
Junior Member
immolat3  Offline OP
Junior Member
I

Joined: Nov 2007
Posts: 73
if (vec_dist(my.x, plBiped01_entity.x) < 100)
{
remDocHealth(10);
}

works but not entirely, the health goes down REALLY quick because the object stays around that area for a while why its passing by, so each tick or whatever you want to call it that the bullet is close to the player he loses 10 health hahah

Re: c_trace and shooting projectile help [Re: immolat3] #168177
11/22/07 19:55
11/22/07 19:55
Joined: Nov 2007
Posts: 73
I
immolat3 Offline OP
Junior Member
immolat3  Offline OP
Junior Member
I

Joined: Nov 2007
Posts: 73
should be alright though i can just make the radius smaller and have him lose a bit less health than 10.

thanks soooooooo much for your help. you have no idea how much you helped. i plan on giving thanks in the game itself and posting it up here when its done.

Re: c_trace and shooting projectile help [Re: immolat3] #168178
11/22/07 20:14
11/22/07 20:14
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
No problem (:


Click and join the 3dgs irc community!
Room: #3dgs
Page 4 of 4 1 2 3 4

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

Gamestudio download | chip programmers | 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