Re: Can an R2 Unit truly send messages? - cog problem


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

Posted by Nightmare on November 19, 1998 at 16:37:36:

In Reply to: Can an R2 Unit truly send messages? - cog problem posted by matt on November 19, 1998 at 12:20:22:

Just a thought, you might need a mask on the surface as well as the thing. The way I would have done it is to put a frame for the r2 right in front of the door and right behind the door, using the arrived message to trigger the door.


arrived:
if(GetSenderID() != r2unit) return;
nextframe = nextframe + 1;
if(GetCurFrame(r2unit) == opendoorframe)
{
movetoframe(door, 1, dspeed);
movetoframe(r2unit, nextframe, r2speed);
}
if(GetCurFrame(r2unit) == closedoorframe)
{
movetoframe(door, 0, dspeed);
movetoframe(r2unit, nextframe, r2speed);
}
return;



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 ]