View Full Version : Ultra super easy cog help
MrRavenX
03-24-2003, 03:42 PM
Anyone have a cog that completely eliminates falling/collision damage?
------------------
Beta Tester Extraordinaire
Currently Testing: OMF (http://www.omf.com/)
Some (http://http://www.homestarrunner.com/) Cool (http://www.actsofgord.com/) Links (http://www.jbowers.com/mame/)
DSLS_DeathSythe
03-24-2003, 04:26 PM
This would do it.
#By DSLS_DeathSythe
flags=0x240
symbols
#-----
message startup
message damaged
#-----
thing player=-1 local
#-----
end
#-----
code
#-----
startup:
player = GetLocalPlayerThing();
CaptureThing(player);
return;
#-----
damaged:
if(GetParam(1) == 64)
{
ReturnEx(0);
}
return;
#-----
end
But it might be better to just set the NO DAMAGE FROM FALL surface flag if you want it to be all over the level. With this cog the person will still act like he got hurt but wont take any damage.
------------------
MrRavenX
03-24-2003, 05:49 PM
Thanks! I'll give you credit http://forums.massassi.net/html/smile.gif
------------------
Beta Tester Extraordinaire
Currently Testing: OMF (http://www.omf.com/)
Some (http://http://www.homestarrunner.com/) Cool (http://www.actsofgord.com/) Links (http://www.jbowers.com/mame/)
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.