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

immunity from other heroes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
12114
Senior Member
Join Date: Jan 2006
Old 10-21-2012 , 00:26   immunity from other heroes?
Reply With Quote #1

How could i make a hero that would disable another hero?
Like magneto disabler hero for example
12114 is offline
cstrike37
Member
Join Date: Jan 2012
Old 10-21-2012 , 07:35   Re: immunity from other heroes?
Reply With Quote #2

What do you mean? Like making an admin only hero?
cstrike37 is offline
12114
Senior Member
Join Date: Jan 2006
Old 10-21-2012 , 09:18   Re: immunity from other heroes?
Reply With Quote #3

Quote:
Originally Posted by cstrike37 View Post
What do you mean? Like making an admin only hero?
no, like if you pick a hero named magneto immunity, you wont be affected by magneto (if some1 else has it)
12114 is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 10-21-2012 , 18:14   Re: immunity from other heroes?
Reply With Quote #4

Can be done.

You can get a hero ID by using the function sh_get_hero_id, find the specifics in the include file.

Create a new hero with just a level cvar which does nothing.

Then edit the magneto hero and get the ID of the immunity hero you created earlier.

Then you can make a check if the guy you are hitting with magneto has your immune hero or not, if he does, then return and do nothing at all.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
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 19:30.


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