PlayerTo (lines 718-730)
Back to List
Browsing verblibm.h
0718 ! Two little routines for moving the player safely.
0719 ! ----------------------------------------------------------------------------
0720
0721 [ PlayerTo newplace flag;
0722 move player to newplace;
0723 while (parent(newplace)~=0) newplace=parent(newplace);
0724 location=newplace;
0725 real_location=location; MoveFloatingObjects();
0726 AdjustLight(1);
0727 if (flag==0) <Look>;
0728 if (flag==1) { NoteArrival(); ScoreArrival(); }
0729 if (flag==2) LookSub(1);
0730 ];
Last updated 27 February 2004.
This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation.
Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.