Fixed some events having wrong parameters for documentation

This commit is contained in:
smallmodel 2023-12-28 20:50:47 +01:00
parent 0167f0a3a4
commit d217b1d561
No known key found for this signature in database
GPG key ID: A96F163ED4891440
7 changed files with 27 additions and 26 deletions

View file

@ -1571,8 +1571,8 @@ Event EV_SetTriggered
"triggered",
EV_DEFAULT,
"i",
"0 or 1",
"Set the triggered status",
"triggered",
"Set the triggered status (0 or 1)",
EV_NORMAL
);
Event EV_SetExplosionEffect
@ -1580,7 +1580,7 @@ Event EV_SetExplosionEffect
"explosioneffect",
EV_DEFAULT,
"s",
"effect model",
"effectModel",
"Set the explosion effect model",
EV_NORMAL
);
@ -1589,7 +1589,7 @@ Event EV_SetExplosionOffset
"explosionoffset",
EV_DEFAULT,
"v",
"offset vector",
"offset",
"Set the explosion offset",
EV_NORMAL
);

View file

@ -1607,8 +1607,8 @@ Event EV_Actor_Holster
"holster",
EV_DEFAULT,
"i",
"if non-zero, affects offhand",
"Holster weapon",
"holster",
"If non-zero, affects offhand. Holster weapon",
EV_NORMAL
);
Event EV_Actor_Unholster
@ -1616,8 +1616,8 @@ Event EV_Actor_Unholster
"unholster",
EV_DEFAULT,
"i",
"if non-zero, affects offhand",
"Unholster weapon",
"holster",
"If non-zero, affects offhand. Unholster weapon",
EV_NORMAL
);
Event EV_Actor_IsEnemyVisible

View file

@ -1385,7 +1385,7 @@ Event EV_Entity_SinglePlayerCommand
"sp",
EV_DEFAULT,
"sSSS",
"command parms",
"command parm1 parm2 ...",
"Makes a command be executed only in single player",
EV_NORMAL
);
@ -1394,7 +1394,7 @@ Event EV_Entity_MultiPlayerCommand
"dm",
EV_DEFAULT,
"sSSS",
"command parms",
"command parm1 parm2 ...",
"Makes a command be executed only in multiplayer",
EV_NORMAL
);
@ -1403,7 +1403,7 @@ Event EV_Entity_RealismModeCommand
"realism",
EV_DEFAULT,
"sSSS",
"command parms",
"command parm1 parm2 ...",
"Makes a command be executed only in realism mode",
EV_NORMAL
);
@ -1412,7 +1412,7 @@ Event EV_Entity_SPRealismModeCommand
"sprealism",
EV_DEFAULT,
"sSSS",
"command parms",
"command parm1 parm2 ...",
"Makes a command be executed only in single player realism mode",
EV_NORMAL
);
@ -1421,7 +1421,7 @@ Event EV_Entity_DMRealismModeCommand
"dmrealism",
EV_DEFAULT,
"sSSS",
"command parms",
"command parm1 parm2 ...",
"Makes a command be executed only in multiplayer realism mode",
EV_NORMAL
);

View file

@ -465,10 +465,10 @@ Event EV_ScriptSlave_FollowPath
"normalangles, loop, and a number specifying the start time.",
EV_NORMAL
);
Event EV_ScriptSlave_FollowPath_RelativeYaw(
Event EV_ScriptSlave_FollowPath_RelativeYaw
(
"path_relativeyaw",
EV_DEFAULT,
"f"
"f",
"relativeYaw",
"Makes the script slave follow the specified path with a yaw offset,",

View file

@ -841,7 +841,7 @@ Event EV_ScriptThread_PlayMovie // Added in 2.0
(
"PlayMovie",
EV_DEFAULT,
"sI",
"s",
"name",
"Play a Movie..."
);

View file

@ -392,8 +392,8 @@ Event EV_Vehicle_BounceForwardsVelocity
(
"BounceForwardsVelocity",
EV_DEFAULT,
"NULL",
"NULL",
NULL,
NULL,
"For vehicles on rails that are moving forwards, reverse our velocity.",
EV_NORMAL
);
@ -412,8 +412,8 @@ Event EV_Vehicle_StopForwardsVelocity
(
"StopForwardsVelocity",
EV_DEFAULT,
"NULL",
"NULL",
NULL,
NULL,
"Stops any forward motion for vehicles on rails.",
EV_NORMAL
);
@ -421,8 +421,8 @@ Event EV_Vehicle_StopBackwardsVelocity
(
"StopBackwardsVelocity",
EV_DEFAULT,
"NULL",
"NULL",
NULL,
NULL,
"Stops any backwards motion for vehicles on rails.",
EV_NORMAL
);
@ -754,7 +754,7 @@ Event EV_Vehicle_VehicleAnim
(
"vehicleanim",
EV_DEFAULT,
"sFI",
"sF",
"anim_name weight",
"Sets an animation to use in the LD Animation slot. \nWeight defaults to 1.0",
EV_NORMAL

View file

@ -190,8 +190,8 @@ Event EV_Turret_EventDoJitter
(
"dojitter",
EV_DEFAULT,
"f",
"(optional) jitter amount",
"F",
"jitterAmount",
"Apply the jitter without firing",
EV_NORMAL
);
@ -236,7 +236,8 @@ Event EV_Turret_AI_SetTargetType
"targettype",
EV_DEFAULT,
"s",
"value Sets the target type to be none, any, or player",
"value",
"Sets the target type to be none, any, or player",
EV_NORMAL
);
Event EV_Turret_AI_SetTargetType2