Raised This Month: $32 Target: $400
 8% 

[L4d2] tank homing rock help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rekcah
Member
Join Date: Jun 2019
Old 10-15-2021 , 06:25   [L4d2] tank homing rock help
Reply With Quote #1

id like to make a plugin that steers rocks towards whichever survivor the tank is looking at when it throws the rock.

I'm stuck on step 1, when the rock is created, how can i figure out who is throwing it?

can anyone help?
rekcah is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-15-2021 , 07:12   Re: [L4d2] tank homing rock help
Reply With Quote #2

PHP Code:
int iThrower GetEntPropEnt(rockProp_Data"m_hThrower");
if (
/* Validate the value of "iThrower" here */)
{
    
// your code here

__________________
Psyk0tik is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode