Re: .key files


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

Posted by Fourwood on June 01, 1998 at 19:00:55:

In Reply to: Re: .key files posted by Pele on June 01, 1998 at 16:52:55:

: : Simple. Can't get my .key to work in my level. How do I make a .cog so that the key plays when you enter a sector? Mine doesn't seem to work.

:


: symbols
: message entered
: key mykey=mykey.key
: end
: code

: entered:

: PlayKey(mykey);
: return;
: end
:

: i forget the values of Playkey(); check the specs :)

: Good Luck

: --Pele

Hmm.. doesn't work. The thing just sits there, just like before! :) Here's what my cog says:
# Jedi Knight COG Script
#
# by Fourwood
#
#
========================================================================================
symbols
message entered
thing z95
sector sector
keyframe z95key=z95.key local
end

code

entered:
PlayKey(z95,mykey,1,0x02);

return;

end



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 ]