ChangePlayer (lines 4196-4214)
Back to List
Browsing parserm.h
4196 [ ChangePlayer obj flag i;
4197 ! if (obj.&number==0) return RunTimeError(7,obj);
4198 if (actor==player) actor=obj;
4199 give player ~transparent ~concealed;
4200 i=obj; while(parent(i)~=0) { if (i has animate) give i transparent;
4201 i=parent(i); }
4202 if (player==selfobj) player.short_name=FORMER__TX;
4203
4204 player=obj;
4205
4206 if (player==selfobj) player.short_name=NULL;
4207 give player transparent concealed animate proper;
4208 i=player; while(parent(i)~=0) i=parent(i); location=i;
4209 real_location=location;
4210 MoveFloatingObjects();
4211 lightflag=OffersLight(parent(player));
4212 if (lightflag==0) location=thedark;
4213 print_player_flag=flag;
4214 ];
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.