Added: Artiscript for ZDaemon ACS (PR#315 by krawa)

* Artiscript added.

*  Artiscripts added.

And optional parameters for client/server scripts.
This commit is contained in:
DoomKrawa 2019-12-25 18:42:51 +01:00 committed by jewalky
parent 734157256e
commit 96f3b74647
2 changed files with 19 additions and 11 deletions

View file

@ -49,7 +49,11 @@ special
-19633:ZD_rand(2),
-19634:ZD_srand(1),
-19635:ZD_rand_savestate(0),
-19636:ZD_rand_restorestate(0);
-19636:ZD_rand_restorestate(0),
-19637:Arti_Execute(2,5),
-19638:Arti_ExecuteAlways(2,5),
-19639:Arti_NamedExecute(2,5),
-19640:Arti_NamedExecuteAlways(2,5);
// Team specifiers you can use with GetTeamScore/SetTeamScore ---------------

View file

@ -362,7 +362,7 @@ keywords
SetAirControl = "void SetAirControl(fixed amount)\nSets how well the player can move while in the air.\nThe default amount is 0.00390625.";
SetAirSupply = "bool SetAirSupply(int playernum, int tics)\nSets the amount of tics remaining in a player's air supply.";
SetAmmoCapacity = "void SetAmmoCapacity(str typename, int maxamount)\nSets the maximum amount of a type of ammo the player can carry.";
SetCameraToTexture = "void SetCameraToTexture(int cameratid, str texturename, int fov)\nBinds the named texture to the specified camera\n(which does not have to be an actual camera thing).\nThe texture used must be defined as a “cameratexture” in the ANIMDEFS lump.";
SetCameraToTexture = "void SetCameraToTexture(int cameratid, str texturename, int fov)\nBinds the named texture to the specified camera\n(which does not have to be an actual camera thing).\nThe texture used must be defined as a 'cameratexture' in the ANIMDEFS lump.";
SetCeilingTrigger = "void SetCeilingTrigger(int tag, int height, int special[, int arg1[, int arg2[, int arg3[, int arg4[, int arg5]]]]])\nWhen the ceiling specified by tag moves the specified height,\nspecial(arg1, arg2, arg3, arg4, arg5) will be activated.";
SetCVar = "bool SetCVar(str cvar, int value)\nSets the value of a particular console variable.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, or it is not writable.";
SetCVarString = "bool SetCVarString(str cvar, str value)\nSets the value of a particular console variable.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, or it is not writable.";
@ -485,10 +485,10 @@ keywords
Warp = "bool Warp(int destinationtid, fixed xofs, fixed yofs, fixed zofs, int angle, int flags[, str success_state[, bool exactstate[, fixed heightoffset]]])";
//WHITERETURN = "Script expression WhiteReturn";
//ZDaemon
Client_Execute = "Client_Execute(client, script, map, arg1, arg2, arg3)\nA value of -1 indicates all clients.";
Client_ExecuteAlways = "Client_ExecuteAlways(client, script, map, arg1, arg2, arg3)\nA value of -1 indicates all clients.";
Client_NamedExecute = "Client_NamedExecute(client, script, map, arg1, arg2, arg3)\nA value of -1 indicates all clients.";
Client_NamedExecuteAlways = "Client_NamedExecuteAlways(client, script, map, arg1, arg2, arg3)\nA value of -1 indicates all clients.";
Client_Execute = "Client_Execute(client, script[, map, arg1, arg2, arg3])\nA value of -1 indicates all clients.";
Client_ExecuteAlways = "Client_ExecuteAlways(client, script[, map, arg1, arg2, arg3])\nA value of -1 indicates all clients.";
Client_NamedExecute = "Client_NamedExecute(client, script[, map, arg1, arg2, arg3])\nA value of -1 indicates all clients.";
Client_NamedExecuteAlways = "Client_NamedExecuteAlways(client, script[, map, arg1, arg2, arg3])\nA value of -1 indicates all clients.";
ConsolePlayerNumber = "int ConsolePlayerNumber()";
GetPlayerLivesLeft = "int GetPlayerLivesLeft(player_number)";
GetTeamScore = "int GetTeamScore(team)";
@ -496,16 +496,20 @@ keywords
PlayerIsSpectator = "bool PlayerIsSpectator(player_number)";
PlayerTopIndex = "int PlayerTopIndex()";
ResetMap = "ResetMap()";
Server_Execute = "Server_Execute(script, map, arg1, arg2, arg3)";
Server_ExecuteAlways = "Server_ExecuteAlways(script, map, arg1, arg2, arg3)";
Server_NamedExecute = "Server_NamedExecute(script, map, arg1, arg2, arg3)";
Server_NamedExecuteAlways = "Server_NamedExecuteAlways(script, map, arg1, arg2, arg3)";
Server_Execute = "Server_Execute(script[, map, arg1, arg2, arg3])";
Server_ExecuteAlways = "Server_ExecuteAlways(script[, map, arg1, arg2, arg3])";
Server_NamedExecute = "Server_NamedExecute(script[, map, arg1, arg2, arg3])";
Server_NamedExecuteAlways = "Server_NamedExecuteAlways(script[, map, arg1, arg2, arg3])";
SetPlayerInfo = "SetPlayerInfo(player_number, playerinfo, value)";
SetTeamScore = "SetTeamScore(team, value)";
ZD_rand = "int ZD_rand(int min_value, int max_value)";
ZD_rand_restorestate = "ZD_rand_restorestate()";
ZD_rand_savestate = "ZD_rand_savestate()";
ZD_srand = "ZD_srand(int seed)";
Arti_Execute = "Arti_Execute(artifact, script[, arg1, arg2, arg3])";
Arti_ExecuteAlways = "Arti_ExecuteAlways(artifact, script[, arg1, arg2, arg3])";
Arti_NamedExecute = "Arti_NamedExecute(artifact, script[, arg1, arg2, arg3])";
Arti_NamedExecuteAlways = "Arti_NamedExecuteAlways(artifact, script[, arg1, arg2, arg3])";
}
properties
@ -1466,4 +1470,4 @@ constants
PLAYERINFO_USR_8;
PLAYERINFO_USR_9;
PLAYERINFO_USR_10;
}
}