EVENT QUICKKICK: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Example for Zaxtor...
mNo edit summary
 
Line 1: Line 1:
{{EventTable|1=EVENT_QUICKKICK|2=player that executed the input|3=[[i|player->i]]|4=1 value}}
EVENT_QUICKKICK is a [[EDuke32_event_list|Game Event]].
EVENT_QUICKKICK is a [[EDuke32_event_list|Game Event]].


Line 4: Line 5:


Set gamevar [[RETURN]] to any non-zero value to disable quick kick.
Set gamevar [[RETURN]] to any non-zero value to disable quick kick.
Example:


  onevent EVENT_QUICKKICK
  onevent EVENT_QUICKKICK
setvar RETURN -1
    setvar RETURN -1
  endevent
  endevent


[[Category:Events]]
[[Category:Events]]

Latest revision as of 14:00, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_QUICKKICK player that executed the input player->i 1 value

EVENT_QUICKKICK is a Game Event.

This event is called when the player presses the key assigned to Quick Kick (`/~ key by default).

Set gamevar RETURN to any non-zero value to disable quick kick.

onevent EVENT_QUICKKICK
    setvar RETURN -1
endevent