Re: Cog Question - masks


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

Posted by JM on November 17, 1998 at 19:07:14:

In Reply to: Cog Question - masks posted by matt on November 17, 1998 at 14:24:11:

Okay, this should work.


# Jedi Knight Cog Script
#
# Filename.COG
#
# Description
#
#
# This Cog is Not supported by LucasArts Entertainment Co

symbols
thing moveobj mask=0x404
surface triggersurf

message crossed

end

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

code
crossed:
if (GetSourceRef() != moveobj) return;
//put door code here
# ........................................................................................

end


if that doesn't work, which it will, it can't be done. Simple, eh? All a mask does is tell the cog to treat it like something its not. Like its wearing a mask. 404 is actor and player. its quarenteed to send all the messages a player can, cept activate, cause it'll never activate anything.


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 ]