Enable movement1

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: enable_movement1 xxxxxxxx

  • xxxxxxxx (DWORD) = Hex value of player you wish to enable the movement of

Use

Used to enable the movements of a specified player after it has been disabled using disable_movement1. However this has been superseded by enable_movement2 which allows the use of a register.

Example


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 all players actions
         disable_movement1 000000000 //Disable Character 1's movement
         disable_movement1 000000001 //Disable Character 2's movement
         disable_movement1 000000002 //Disable Character 3's movement
         disable_movement1 000000003 //Disable Character 4'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_movement1 000000000 //Enable Character 1's movement
         enable_movement1 000000001 //Enable Character 2's movement
         enable_movement1 000000002 //Enable Character 3's movement
         enable_movement1 000000003 //Enable Character 4's movement
         p_action_enable //Enable all players actions
         ret 

Also see

window_msg, winend, call, ret, p_action_disable, p_action_enable, cam_quake, disable_movement1, hud_hide, hud_show, cine_enable, cine_disable, cam_zmin, cam_zmout