Raised This Month: $51 Target: $400
 12% 

FF2 OnTakeDamage question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 12-20-2014 , 03:13   OnTakeDamage question
Reply With Quote #1

On my FF2 build that i run on my server, I have this line commented out from OnTakeDamage to allow bosses to blast jump (with attribute 275 in use to block fall damage).

PHP Code:
    if((attacker<=|| client==attacker) && IsBoss(client))
    {
        return 
Plugin_Handled;
    } 
Now, since most people run a stock FF2 build, how can i undo this via subplugin (OnTakeDamage?) so that the bosses that i want to be able to blast jump can do so from a stock FF2 build environment?
__________________

Last edited by 93SHADoW; 12-20-2014 at 04:52.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-20-2014 , 17:43   Re: OnTakeDamage question
Reply With Quote #2

Use the damageforce and teleportentity the client along that vector?
I think that is what I did.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Reply



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 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode