A ClientsideExecute: Difference between revisions

From Zandronum Wiki
(Created a page for A_ClientsideExecute.)
 
m (Fix display title)
Tag: Source edit
Line 1: Line 1:
{{ACSWarning}}
{{DISPLAYTITLE:{{PAGENAMEE}}}}{{ACSWarning}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}
int '''A_ClientsideExecute''' (str ''script'', [int ''arg1'', int ''arg2'', int ''arg3'', int ''arg4'']) {{Devfeature|3.2|alpha}}
int '''A_ClientsideExecute''' (str ''script'', [int ''arg1'', int ''arg2'', int ''arg3'', int ''arg4'']) {{Devfeature|3.2|alpha}}

Revision as of 13:41, 27 May 2024

This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer.

int A_ClientsideExecute (str script, [int arg1, int arg2, int arg3, int arg4]) (development version 3.2-alpha and above only)

Usage

Variant of ACS_NamedExecuteWithResult which calls the scripts on all players clientside.

Parameters

  • script: Name of the script to execute
  • arg1: First argument passed to the script
  • arg2: Second argument passed to the script
  • arg3: Third argument passed to the script
  • arg4: Fourth argument passed to the script

Return value

Returns true if the script was called successfully.

Examples

This article lists no examples, please add one.