mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Fixed some events having wrong parameters for documentation
This commit is contained in:
parent
0167f0a3a4
commit
d217b1d561
7 changed files with 27 additions and 26 deletions
|
@ -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
|
||||
);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
|
@ -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,",
|
||||
|
|
|
@ -841,7 +841,7 @@ Event EV_ScriptThread_PlayMovie // Added in 2.0
|
|||
(
|
||||
"PlayMovie",
|
||||
EV_DEFAULT,
|
||||
"sI",
|
||||
"s",
|
||||
"name",
|
||||
"Play a Movie..."
|
||||
);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue