|
09-14-2007, 05:17 PM | #1 |
Join Date: Sep 2007
Posts Rated Helpful 0 Times
|
Creating a skill map..quad/invinc?
I have everything going smoothly, bags and all, it's just.. I can't seem to figure out how to give quad damage and invincibility to the players. I know this is controlled through Lua, but I have no idea where to start really. Can anyone shed some light on this for me? Thanks!
|
|
09-15-2007, 12:51 AM | #2 |
Useless
Retired FF Staff
|
Code:
function player_ondamage( player, damageinfo ) damageinfo:SetDamage( 0 ) end
__________________
Look at all those dead links. |
|
09-15-2007, 01:01 AM | #3 | |
Join Date: Mar 2007
Posts Rated Helpful 5 Times
|
Quote:
|
|
|
09-15-2007, 01:03 AM | #4 |
Useless
Retired FF Staff
|
I just wrote that. No reason for it not to work.
__________________
Look at all those dead links. |
|
09-15-2007, 01:06 AM | #5 |
Join Date: Mar 2007
Posts Rated Helpful 5 Times
|
Code:
-- Disable damage function player_ondamage( player, damageinfo ) damageinfo:SetDamage(0); |
|
09-15-2007, 01:11 AM | #6 |
Useless
Retired FF Staff
|
Needs an end.
__________________
Look at all those dead links. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|