Raised This Month: $44 Target: $400
 11% 

[TF2 & L4D & L4D2] Actions


Post New Thread Reply   
 
Thread Tools Display Modes
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 11-22-2022 , 08:01   Re: [TF2 & L4D & L4D2] Actions
Reply With Quote #61

I have a question, is it possible to perform Action like SurvivorLegsRegroup on SurvivorBot to specific survivor rather than hooking action event?
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
BHaType
Great Tester of Whatever
Join Date: Jun 2018
Old 11-23-2022 , 02:11   Re: [TF2 & L4D & L4D2] Actions
Reply With Quote #62

Quote:
Originally Posted by Edison1318 View Post
I have a question, is it possible to perform Action like SurvivorLegsRegroup on SurvivorBot to specific survivor rather than hooking action event?
It's possible but it really depends on what you want to achieve.

sm_approach_crosshair - Makes every survivor bot go to crosshair position
sm_approach_me - Makes every survivor bot go to approach you
sm_regroup_to_target - Makes every bot to regroup to your crosshair target (target could be literally any entity)
Attached Files
File Type: txt l4d2_t.txt (1.1 KB, 4 views)
File Type: sp Get Plugin or Get Source (l4d2_survivor_bots_actions_test.sp - 4 views - 5.6 KB)
__________________
cry
BHaType is offline
Send a message via AIM to BHaType
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 11-23-2022 , 03:14   Re: [TF2 & L4D & L4D2] Actions
Reply With Quote #63

Quote:
Originally Posted by BHaType View Post
It's possible but it really depends on what you want to achieve.

sm_approach_crosshair - Makes every survivor bot go to crosshair position
sm_approach_me - Makes every survivor bot go to approach you
sm_regroup_to_target - Makes every bot to regroup to your crosshair target (target could be literally any entity)
Ah I see, looks complicated in the code but thanks

Edited: Yeah, to perform a specific function for SurvivorBots looks like I need to get the signatures for that
__________________
EdisonGar

Last edited by Edison1318; 11-23-2022 at 03:26.
Edison1318 is offline
Send a message via Skype™ to Edison1318
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 17:30.


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