P action disable

From Unofficial QEdit Wiki Guide
Jump to: navigation, search

Syntax

Syntax: p_action_disable

  • None

Use

Used to to disable the actions (Attacks) for all players.

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 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 players actions
         ret 

Also see

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