Hi evilSOB,
Many thanks fo your reply and help, below is what I've done:-
room with box like lift in it, plus player with action PIBiped01 assigned.
player is in the box (open top) so that I can see if it moves with box.
code:-
(all required 'includes' in place)
entity* platform;
function moveit
{
while(platform.x<300)
{
platform.x+=2*time;
{
if(player!=NULL)
{
player.x+=2*time;
}
wait(1);
}}
action platform1
{
platform=my;
my.enable_click=on;
my.event=moveit;
}
Player still stays put, but the box moves nicely!!
Any thoughts? hopefully, David