playeraction: message


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by fourwood on September 05, 1998 at 14:24:22:

I can't get it to work. Here's my cog. I'm using the tut that was posted here a while ago.


symbols
message startup
message playeraction

end

# ========================================================================================

code
startup:
SetActionCog(GetSelfCog(), 0x7fffffff);
return;
playeraction:
if(GetParam(0) == 0.0)
ReturnEx(0.0); // cant jump!
else
ReturnEx(1.0);
return;

end


I'm trying to learn how to use this.


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]