Raised This Month: $ Target: $400
 0% 

Solved [L4D2]Shockwave?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 12-02-2022 , 05:03   Re: [L4D2]Shockwave?
Reply With Quote #1

You can create a "shockwave" effect that can both knock players backwards, as well as give them a little bit (or a lot) of air, using the TeleportEntity method.
You'll need to get the origin point of both the blast point and the player in order to know which angles to push the player at. You can use m_vecOrigin for both players and non-player entities.

It's super easy stuff.
__________________
Skyy 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 23:46.


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