A ClientsideExecute: Difference between revisions

From Zandronum Wiki
m (Fix display title)
Tag: Source edit
m (This is a DECORATE feature, not an ACS feature.)
Tag: Source edit
 
Line 1: Line 1:
{{DISPLAYTITLE:{{PAGENAMEE}}}}{{ACSWarning}}
{{DISPLAYTITLE:{{PAGENAMEE}}}}{{DECORATEWarning}}
{{DevfeatureWarning|version=3.2|type=an [[ACS]] function}}
{{DevfeatureWarning|version=3.2|type=a [[DECORATE]] 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}}



Latest revision as of 10:17, 28 May 2024

This article documents a Zandronum-specific DECORATE feature which may not be supported by ZDoom and its other child ports.
This article documents a DECORATE 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.