Disable movement2
From Unofficial QEdit Wiki Guide
Contents
Syntax
Syntax: disable_movement2 Rx
- Rx = Register that contains slot number.
Use
Used to disable the movements of a specified player. Use enable_movement2 to enable movements.
Example
0: get_slotnumber R250 //R250 is the reserved register used for storing the player slot number
ret
100: call 200 //Call cinematic effect start function
cam_quake //Shake Camera
window_msg 'Earthquake!'
winend
call 201 //Call cinematic effect end function
ret
200: p_action_disable //Disable players actions
disable_movement2 R250 //Disable Character's movement
hud_hide //Hide players HUD
cine_enable //Enable cinematic mode
cam_zmin //Zoom in camera
ret
201: cam_zmout //Zoom out camera
cine_disable //Disable cinematic mode
hud_show //Show players HUD
enable_movement2 R250 //Enable Character's movement
p_action_enable //Enable players actions
ret
Also see
window_msg, winend, call, ret, cam_quake, p_action_enable, enable_movement2, cam_quake, hud_hide, hud_show, cine_enable, cine_disable, cam_zmin, cam_zmout, get_slotnumber