Difference between revisions of "Enable movement2"
From Unofficial QEdit Wiki Guide
(→Also see) |
|||
Line 32: | Line 32: | ||
==Also see== | ==Also see== | ||
− | [[window_msg]], [[winend]], [[call]], [[ret]], [[cam_quake]], [[p_action_enable]], [[disable_movement2]], [[cam_quake]], [[hud_hide]], [[hud_show]], [[cine_enable]], [[cine_disable]], [[cam_zmin]], [[cam_zmout]] | + | [[window_msg]], [[winend]], [[call]], [[ret]], [[cam_quake]], [[p_action_enable]], [[disable_movement2]], [[cam_quake]], [[hud_hide]], [[hud_show]], [[cine_enable]], [[cine_disable]], [[cam_zmin]], [[cam_zmout]], [[get_slotnumber]] |
Latest revision as of 16:53, 15 February 2013
Contents
Syntax
Syntax: enable_movement2 Rx
- Rx = Register that contains slot number.
Use
Used to enable the movements of a specified player. Use disable_movement2 to disable 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, disable_movement2, cam_quake, hud_hide, hud_show, cine_enable, cine_disable, cam_zmin, cam_zmout, get_slotnumber