mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
Updated ZDoom_ACS.cfg and BCC.cfg: more info is now shown in helper popups for all ACS functions (not Action specials). Also, 3 functions (namely SpawnDecal, GetActorPowerupTics and CheckFont) were missing form these configs.
Image Browser control: item selection event was triggered twice.
This commit is contained in:
parent
c462eb7bfd
commit
8bfa9a8944
4 changed files with 457 additions and 441 deletions
|
@ -24,38 +24,40 @@ scripttype = 1; //0 = unknown script, 1 = acc, 2 = modeldef, 3 = decorate
|
|||
|
||||
keywords
|
||||
{
|
||||
#Define = "#Define identifier expression";
|
||||
enum = "Enumeration";
|
||||
struct = "Structure";
|
||||
region = "A code region block";
|
||||
goto = "Goto statement";
|
||||
upmost = "The upmost region";
|
||||
#Define = "#Define identifier expression";
|
||||
#EncryptStrings = "#EncryptStrings";
|
||||
#Import = "#Import";
|
||||
#Include = "#Include";
|
||||
#LibDefine = "#LibDefine identifier expression";
|
||||
#Library = "#Library";
|
||||
#NoCompact = "#NoCompact";
|
||||
enum = "Enumeration";
|
||||
struct = "Structure";
|
||||
region = "A code region block";
|
||||
goto = "Goto statement";
|
||||
upmost = "The upmost region";
|
||||
#NoWadAuthor = "#NoWadAuthor";
|
||||
#WadAuthor = "#WadAuthor";
|
||||
ACS_Execute = "ACS_Execute(script, map, arg1, arg2, arg3)";
|
||||
ACS_ExecuteAlways = "ACS_ExecuteAlways(script, map, arg1, arg2, arg3)";
|
||||
ACS_ExecuteWait = "ACS_ExecuteWait(script, unused, arg1, arg2, arg3)";
|
||||
ACS_ExecuteWait = "void ACS_ExecuteWait(int script, int unused, int arg1, int arg2, int arg3)";
|
||||
ACS_ExecuteWithResult = "ACS_ExecuteWithResult(script, arg1, arg2, arg3)";
|
||||
ACS_LockedExecute = "ACS_LockedExecute(script, map, arg1, arg2, lock)";
|
||||
ACS_LockedExecuteDoor = "ACS_LockedExecuteDoor(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedExecute = "ACS_NamedExecute(script, map, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteAlways = "ACS_NamedExecuteAlways(script, map, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteWait = "ACS_NamedExecuteWait(script, unused, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteWithResult = "ACS_NamedExecuteWithResult(script, arg1, arg2, arg3)";
|
||||
ACS_NamedLockedExecute = "ACS_NamedLockedExecute(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedLockedExecuteDoor = "ACS_NamedLockedExecuteDoor(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedSuspend = "ACS_NamedSuspend(script, map)";
|
||||
ACS_NamedTerminate = "ACS_NamedTerminate(script, map)";
|
||||
ACS_NamedExecute = "bool ACS_NamedExecute(str script, int map, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteAlways = "bool ACS_NamedExecuteAlways(str script, int map, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteWait = "void ACS_NamedExecuteWait(str script, int unused, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteWithResult = "int ACS_NamedExecuteWithResult(str script, int arg1, int arg2, int arg3, int arg4)";
|
||||
ACS_NamedLockedExecute = "bool ACS_NamedLockedExecute(str script, int map, int arg1, int arg2, int lock)";
|
||||
ACS_NamedLockedExecuteDoor = "bool ACS_NamedLockedExecuteDoor(str script, int map, int arg1, int arg2, int lock)";
|
||||
ACS_NamedSuspend = "bool ACS_NamedSuspend(str script, int map)";
|
||||
ACS_NamedTerminate = "bool ACS_NamedTerminate(str script, int map)";
|
||||
ACS_Suspend = "ACS_Suspend(script, map)";
|
||||
ACS_Terminate = "ACS_Terminate(script, map)";
|
||||
ActivatorSound = "ActivatorSound(sound, volume)";
|
||||
ActivatorTID = "ActivatorTID()";
|
||||
AmbientSound = "AmbientSound(sound, volume)";
|
||||
AnnouncerSound = "AnnouncerSound(sound, flags)";
|
||||
ActivatorSound = "void ActivatorSound(str sound, int volume)";
|
||||
ActivatorTID = "int ActivatorTID(void)";
|
||||
AmbientSound = "void AmbientSound(str sound, int volume)";
|
||||
AnnouncerSound = "void AnnouncerSound(str sound, int flags)";
|
||||
Autosave = "Autosave()";
|
||||
BlueCount = "BlueCount()";
|
||||
BlueReturn = "Script expression BlueReturn";
|
||||
|
@ -64,8 +66,8 @@ keywords
|
|||
BlueTeamScore = "BlueTeamScore()";
|
||||
Bool = "Bool expression";
|
||||
Break = "Break";
|
||||
CancelFade = "CancelFade()";
|
||||
Case = "Case expression:";
|
||||
CancelFade = "void CancelFade(void)\nIf either FadeTo or FadeRange is currently in progress,\nCancelFade stops it and turns off the palette flash.";
|
||||
Case = "Case expression";
|
||||
Ceiling_CrushAndRaise = "Ceiling_CrushAndRaise(tag, speed, crush, crushmode)";
|
||||
Ceiling_CrushAndRaiseA = "Ceiling_CrushAndRaiseA(tag, dspeed, uspeed, crush, crushmode)";
|
||||
Ceiling_CrushAndRaiseDist = "Ceiling_CrushAndRaiseDist(tag, dist, speed, damage, crushmode)";
|
||||
|
@ -89,39 +91,40 @@ keywords
|
|||
Ceiling_RaiseInstant = "Ceiling_RaiseInstant(tag, unused, height)";
|
||||
Ceiling_RaiseToNearest = "Ceiling_RaiseToNearest(tag, speed)";
|
||||
Ceiling_Waggle = "Ceiling_Waggle(tag, amp, freq, offset, time)";
|
||||
ChangeActorAngle = "ChangeActorAngle(int tid, fixed angle, bool interpolate = false)";
|
||||
ChangeActorPitch = "ChangeActorPitch(int tid, fixed pitch, bool interpolate = false)";
|
||||
ChangeActorAngle = "ChangeActorAngle(int tid, fixed angle [, bool interpolate = false])\nSets the angle for the actors with the specified tid.\nIf tid is 0, it sets the angle for the activator of the script.\nangle: a fixed point angle in the range of 0.0 to 1.0 (N = 0.25, W = 0.5, S = 0.75, E = 1.0).";
|
||||
ChangeActorPitch = "ChangeActorPitch(int tid, fixed pitch [, bool interpolate = false])\nSets the pitch for the actors with the specified tid. If tid is 0, it sets the pitch for the activator of the script.\npitch: a fixed point angle in the range of 0.0 to 1.0.";
|
||||
ChangeCamera = "ChangeCamera(tid, who, revert)";
|
||||
ChangeCeiling = "ChangeCeiling(tag, flat)";
|
||||
ChangeFloor = "ChangeFloor(tag, flat)";
|
||||
ChangeLevel = "ChangeLevel(mapname, position, flags, skill)";
|
||||
ChangeCeiling = "void ChangeCeiling(int tag, str flatname)";
|
||||
ChangeFloor = "void ChangeFloor(int tag, str flatname)";
|
||||
ChangeLevel = "void ChangeLevel(str mapname, int position, int flags [, int skill])\nChanges to a new map, places the player at the specified start spot, and optionally changes the skill level at the same time.";
|
||||
ChangeSkill = "ChangeSkill(skill)";
|
||||
ChangeSky = "ChangeSky(sky1, sky2)";
|
||||
CheckActorCeilingTexture = "CheckActorCeilingTexture(tid, texture)";
|
||||
CheckActorClass = "CheckActorClass(tid, class)";
|
||||
CheckActorFloorTexture = "CheckActorFloorTexture(tid, texture)";
|
||||
CheckActorInventory = "CheckActorInventory(tid, inventoryitem)";
|
||||
CheckActorProperty = "CheckActorProperty(tid, property, value)";
|
||||
CheckFlag = "bool CheckFlag(int tid, string flag)\nChecks to see if the actor with the matching tid has the specified actor flag set.\nIf tid is 0, the check is performed on the activator of the script.";
|
||||
CheckInventory = "CheckInventory(inventoryitem)";
|
||||
CheckPlayerCamera = "CheckPlayerCamera(player)";
|
||||
CheckSight = "CheckSight(source, dest, flags)";
|
||||
CheckWeapon = "CheckWeapon(weapon)";
|
||||
ClassifyActor = "ClassifyActor(tid)";
|
||||
ClearActorInventory = "ClearActorInventory(tid)";
|
||||
ChangeSky = "void ChangeSky(str sky1, str sky2)\nChanges the sky texture to sky1 and the second sky texture to sky2.\nBoth textures must be the same height if doublesky is enabled.\nYou may also use any flat, pname, sprite or internal graphic (such as TITLEPIC) in place of an actual texture.\nUseful in conjunction with SetSkyScrollSpeed.";
|
||||
CheckActorCeilingTexture = "bool CheckActorCeilingTexture(int tid, str texture)";
|
||||
CheckActorClass = "bool CheckActorClass(int tid, str class)";
|
||||
CheckActorFloorTexture = "bool CheckActorFloorTexture(int tid, str texture)";
|
||||
CheckActorInventory = "int CheckActorInventory(int tid, str inventory_item)\nChecks the given actor's inventory for the item specified by inventory_item";
|
||||
CheckActorProperty = "bool CheckActorProperty(int tid, int property, [int|float|str] value)";
|
||||
CheckFlag = "bool CheckFlag(int tid, str flag)\nChecks to see if the actor with the matching tid has the specified actor flag set.\nIf tid is 0, the check is performed on the activator of the script.";
|
||||
CheckFont = "bool CheckFont(str fontname)";
|
||||
CheckInventory = "int CheckInventory(str inventory_item)\nChecks the inventory of the actor who activated the script for the item specified by inventory_item";
|
||||
CheckPlayerCamera = "int CheckPlayerCamera(int player)";
|
||||
CheckSight = "bool CheckSight(int source, int dest, int flags)";
|
||||
CheckWeapon = "bool CheckWeapon(str weapon)\nChecks if player's active weapon is the weapon with specified class name.";
|
||||
ClassifyActor = "int ClassifyActor(int tid)";
|
||||
ClearActorInventory = "void ClearActorInventory(int tid)\nThis function clears the specified actor's inventory.";
|
||||
ClearForceField = "ClearForceField(tag)";
|
||||
ClearInventory = "ClearInventory()";
|
||||
ClearLineSpecial = "ClearLineSpecial()";
|
||||
ConsoleCommand = "ConsoleCommand(command)";
|
||||
ClearInventory = "void ClearInventory(void)\nClears the player's inventory of weapons, ammo, armor and usable items.";
|
||||
ClearLineSpecial = "void ClearLineSpecial(void)\nClears the special of the line that activated the script.";
|
||||
ConsoleCommand = "void ConsoleCommand (str command)";
|
||||
Const = "Const";
|
||||
Continue = "Continue";
|
||||
cos = "cos(angle)";
|
||||
CreateTranslation = "CreateTranslation(transnumber, translation, translation, translation, ...)";
|
||||
cos = "fixed Cos(int angle)";
|
||||
CreateTranslation = "void CreateTranslation(int transnumber, a:b=c:d, ...)";
|
||||
DamageThing = "DamageThing(amount, mod)";
|
||||
Death = "Script expression Death";
|
||||
Default = "Default:";
|
||||
Delay = "Delay(tics)";
|
||||
Disconnect = "Script expression Disconnect";
|
||||
Delay = "void Delay(int tics)";
|
||||
Disconnect = "Disconnect script expression";
|
||||
Do = "Do";
|
||||
Door_Animated = "Door_Animated(tag, speed, delay, lock)";
|
||||
Door_Close = "Door_Close(tag, speed, lighttag)";
|
||||
|
@ -129,7 +132,7 @@ keywords
|
|||
Door_LockedRaise = "Door_LockedRaise(tag, speed, delay, lock, lighttag)";
|
||||
Door_Open = "Door_Open(tag, speed, lighttag)";
|
||||
Door_Raise = "Door_Raise(tag, speed, delay, lighttag)";
|
||||
DropItem = "int DropItem(int tid, string item, int dropamount = -1, int chance = 256)\nCauses actors with the matching tid to drop the specified item.\nIf tid is 0, the activator of the script is considered to be the dropper of the item.\nThis works in a similar way to the DropItem actor property.\nThe return value of the function is the number of dropped items.";
|
||||
DropItem = "int DropItem(int tid, str item [, int dropamount = -1 [, int chance = 256]])\nCauses actors with the matching tid to drop the specified item.\nIf tid is 0, the activator of the script is considered to be the dropper of the item.\nThis works in a similar way to the DropItem actor property.\nThe return value of the function is the number of dropped items.";
|
||||
Elevator_LowerToNearest = "Elevator_LowerToNearest(tag, speed)";
|
||||
Elevator_MoveToFloor = "Elevator_MoveToFloor(tag, speed)";
|
||||
Elevator_RaiseToNearest = "Elevator_RaiseToNearest(tag, speed)";
|
||||
|
@ -137,11 +140,11 @@ keywords
|
|||
Enter = "Script expression Enter";
|
||||
Exit_Normal = "Exit_Normal(pos)";
|
||||
Exit_Secret = "Exit_Secret(pos)";
|
||||
FadeRange = "FadeRange(red1, green1, blue1, amount1, red2, green2, blue2, amount2, seconds)";
|
||||
FadeTo = "FadeTo(red, green, blue, amount, seconds)";
|
||||
FixedDiv = "FixedDiv(a, b)";
|
||||
FixedMul = "FixedMul(a, b)";
|
||||
FixedSqrt = "FixedSqrt(number)";
|
||||
FadeRange = "void FadeRange (int red1, int green1, int blue1, fixed amount1, int red2, int green2, int blue2, fixed amount2, fixed seconds)\nSets the current flash to the first color set and then fades it to the second color set over the specified number of seconds.";
|
||||
FadeTo = "void FadeTo (int red, int green, int blue, fixed amount, fixed seconds)\nFades the activator's view from the current palette flash to another one.\nThis will also work if the activator is looking through another viewpoint (using a camera, etc.).";
|
||||
FixedDiv = "fixed FixedDiv(int a, int b)";
|
||||
FixedMul = "fixed FixedMul(int a, int b)";
|
||||
FixedSqrt = "fixed FixedSqrt(fixed number)";
|
||||
Floor_CrushStop = "Floor_CrushStop(tag)";
|
||||
Floor_Donut = "Floor_Donut(ptag, pspeed, sspeed)";
|
||||
Floor_LowerByValue = "Floor_LowerByValue(tag, speed, height)";
|
||||
|
@ -173,8 +176,8 @@ keywords
|
|||
ForceField = "ForceField()";
|
||||
FS_Execute = "FS_Execute(script, side, keynum, message)";
|
||||
Function = "Function Void expression (Void)";
|
||||
GameSkill = "GameSkill()";
|
||||
GameType = "GameType()";
|
||||
GameSkill = "int GameSkill(void)";
|
||||
GameType = "int GameType(void)";
|
||||
Generic_Ceiling = "Generic_Ceiling(tag, speed, height, target, flag)";
|
||||
Generic_Crusher = "Generic_Crusher(tag, dspeed, uspeed, silent, crush)";
|
||||
Generic_Crusher2 = "Generic_Crusher2(tag, dspeed, uspeed, silent, crush)";
|
||||
|
@ -182,65 +185,67 @@ keywords
|
|||
Generic_Floor = "Generic_Floor(tag, speed, height, target, flags)";
|
||||
Generic_Lift = "Generic_Lift(tag, speed, delay, type, height)";
|
||||
Generic_Stairs = "Generic_Stairs(tag, speed, height, flags, reset)";
|
||||
GetActorAngle = "GetActorAngle(tid)";
|
||||
GetActorCeilingZ = "GetActorCeilingZ(tid)";
|
||||
GetActorClass = "GetActorClass(tid)";
|
||||
GetActorFloorZ = "GetActorFloorZ(tid)";
|
||||
GetActorLightLevel = "GetActorLightLevel(tid)";
|
||||
GetActorPitch = "GetActorPitch(tid)";
|
||||
GetActorProperty = "GetActorProperty(tid, property)";
|
||||
GetActorVelX = "GetActorVelX(tid)";
|
||||
GetActorVelY = "GetActorVelY(tid)";
|
||||
GetActorVelZ = "GetActorVelZ(tid)";
|
||||
GetActorViewHeight = "GetActorViewHeight(tid)";
|
||||
GetActorX = "GetActorX(tid)";
|
||||
GetActorY = "GetActorY(tid)";
|
||||
GetActorZ = "GetActorZ(tid)";
|
||||
GetAirSupply = "GetAirSupply(playernumber)";
|
||||
GetAmmoCapacity = "GetAmmoCapacity(ammotype)";
|
||||
GetArmorType = "GetArmorType(armortype, playernumber)";
|
||||
GetChar = "GetChar(string, index)";
|
||||
GetCVar = "GetCVar(cvarname)";
|
||||
GetCVarString = "GetCVarString(cvarname)";
|
||||
GetActorAngle = "fixed GetActorAngle(int tid)";
|
||||
GetActorCeilingZ = "fixed GetActorCeilingZ(int tid)";
|
||||
GetActorClass = "str GetActorClass(int tid)";
|
||||
GetActorFloorZ = "fixed GetActorFloorZ(int tid)";
|
||||
GetActorLightLevel = "int GetActorLightLevel(int tid)";
|
||||
GetActorPitch = "fixed GetActorPitch(int tid)";
|
||||
GetActorPowerupTics = "int GetActorPowerupTics(int tid, str powerup)";
|
||||
GetActorProperty = "int GetActorProperty(int tid, int property)";
|
||||
GetActorVelX = "fixed GetActorVelX(int tid)";
|
||||
GetActorVelY = "fixed GetActorVelY(int tid)";
|
||||
GetActorVelZ = "fixed GetActorVelZ(int tid)";
|
||||
GetActorViewHeight = "fixed GetActorViewHeight(int tid)";
|
||||
GetActorX = "fixed GetActorX(int tid)";
|
||||
GetActorY = "fixed GetActorY(int tid)";
|
||||
GetActorZ = "fixed GetActorZ(int tid)";
|
||||
GetAirSupply = "int GetAirSupply(int playernum)";
|
||||
GetAmmoCapacity = "int GetAmmoCapacity(str classname)";
|
||||
GetArmorType = "int GetArmorType(str armortype, int playernum)";
|
||||
GetChar = "int GetChar(str string, int index)";
|
||||
GetCVar = "int GetCVar(str cvar)";
|
||||
GetCVarString = "str GetCVarString(str cvar)";
|
||||
GetInvasionState = "GetInvasionState()";
|
||||
GetInvasionWave = "GetInvasionWave()";
|
||||
GetLevelInfo = "GetLevelInfo(levelinfo)";
|
||||
GetLevelInfo = "int GetLevelInfo(int levelinfo)";
|
||||
GetLineActivation = "int GetLineActivation(int lineid)\nlineid: The id of the line of which to get the activation flags.\nReturns SPAC flags as a bitfield";
|
||||
GetLineRowOffset = "GetLineRowOffset()";
|
||||
GetLineUDMFFixed = "GetLineUDMFFixed(lineid, key)";
|
||||
GetLineUDMFInt = "GetLineUDMFInt(lineid, key)";
|
||||
GetPlayerInfo = "GetPlayerInfo(playernumber, playerinfo)";
|
||||
GetPlayerInput = "GetPlayerInput(playernumber, input)";
|
||||
GetPolyobjX = "GetPolyobjX(polyid)";
|
||||
GetPolyobjY = "GetPolyobjY(polyid)";
|
||||
GetScreenHeight = "GetScreenHeight()";
|
||||
GetScreenWidth = "GetScreenWidth()";
|
||||
GetSectorCeilingZ = "GetSectorCeilingZ(tag, x, y)";
|
||||
GetSectorFloorZ = "GetSectorFloorZ(tag, x, y)";
|
||||
GetSectorLightLevel = "GetSectorLightLevel(tag)";
|
||||
GetSectorUDMFFixed = "GetSectorUDMFFixed(tag, key)";
|
||||
GetSectorUDMFInt = "GetSectorUDMFInt(tag, key)";
|
||||
GetSideUDMFFixed = "GetSideUDMFFixed(lineid, side, key)";
|
||||
GetSideUDMFInt = "GetSideUDMFInt(lineid, side, key)";
|
||||
GetThingUDMFFixed = "GetThingUDMFFixed(tid, key)";
|
||||
GetThingUDMFInt = "GetThingUDMFInt(tid, key)";
|
||||
GetUserArray = "GetUserArray(tid, name, pos)";
|
||||
GetUserCVar = "GetUserCVar(playernum, cvarname)";
|
||||
GetUserCVarString = "GetUserCVarString(playernum, cvarname)";
|
||||
GetUserVariable = "GetUserVariable(tid, name)";
|
||||
GetWeapon = "GetWeapon()";
|
||||
GiveActorInventory = "GiveActorInventory(tid, inventoryitem, amount)";
|
||||
GiveInventory = "GiveInventory(inventoryitem, amount)";
|
||||
GetLineRowOffset = "int GetLineRowOffset(void)";
|
||||
GetLineUDMFFixed = "fixed GetLineUDMFFixed(int lineid, str key)";
|
||||
GetLineUDMFInt = "int GetLineUDMFInt(int lineid, str key)";
|
||||
GetPlayerInfo = "int GetPlayerInfo(int playernumber, int playerinfo)";
|
||||
GetPlayerInput = "int GetPlayerInput(int player, int input)";
|
||||
GetPolyobjX = "fixed GetPolyobjX(int polyid)";
|
||||
GetPolyobjY = "fixed GetPolyobjY(int polyid)";
|
||||
GetScreenHeight = "int GetScreenHeight(void)";
|
||||
GetScreenWidth = "int GetScreenWidth(void)";
|
||||
GetSectorCeilingZ = "int GetSectorCeilingZ(int tag, int x, int y)";
|
||||
GetSectorFloorZ = "fixed GetSectorFloorZ(int tag, int x, int y)";
|
||||
GetSectorLightLevel = "int GetSectorLightLevel(int tag)";
|
||||
GetSectorUDMFFixed = "fixed GetSectorUDMFFixed(int tag, str key)";
|
||||
GetSectorUDMFInt = "int GetSectorUDMFInt(int tag, str key)";
|
||||
GetSideUDMFFixed = "fixed GetSideUDMFFixed(int lineid, bool side, str key)";
|
||||
GetSideUDMFInt = "int GetSideUDMFInt(int lineid, bool side, str key)";
|
||||
GetSigilPieces = "int GetSigilPieces (void)\nReturns the number of Sigil pieces that are held by the player";
|
||||
GetThingUDMFFixed = "fixed GetThingUDMFFixed(int thingid, str key)";
|
||||
GetThingUDMFInt = "int GetThingUDMFInt(int thingid, str key)";
|
||||
GetUserArray = "void GetUserArray(int tid, str name, int pos)";
|
||||
GetUserCVar = "int GetUserCVar(int playernumber, str cvar)";
|
||||
GetUserCVarString = "str GetUserCVarString(int playernumber, str cvar)";
|
||||
GetUserVariable = "int GetUserVariable(int tid, str name)";
|
||||
GetWeapon = "str GetWeapon (void)\nReturns the class name of the weapon currently equipped by the player as a string";
|
||||
GiveActorInventory = "void GiveActorInventory(int tid, str inventory_item, int amount)\nThis function will give the amount of items to the specifed actor.\nThis function does not treat tid 0 as the activator of the script";
|
||||
GiveInventory = "void GiveInventory(str inventory_item, int amount)\nThis function will give the number of items specified to the activator.";
|
||||
GlassBreak = "GlassBreak(dontspawnjunk)";
|
||||
Global = "Global Int expression:identifier";
|
||||
HealThing = "HealThing(amount)";
|
||||
HudMessage = "HudMessage(text; type, id, color, x, y, holdtime, alpha)";
|
||||
HudMessageBold = "HudMessageBold(text; type, id, color, x, y, holdtime, alpha)";
|
||||
HudMessage = "void hudmessage(text; int type, int id, int color, fixed x, fixed y, fixed holdTime)";
|
||||
HudMessageBold = "void HudMessageBold(text; int type, int id, int color, fixed x, fixed y, fixed holdTime)";
|
||||
If = "If(expression)";
|
||||
Int = "Int expression";
|
||||
IsMultiplayer = "IsMultiplayer()";
|
||||
IsOneFlagCTF = "IsOneFlagCTF()";
|
||||
IsTIDUsed = "IsTIDUsed(tid)";
|
||||
IsMultiplayer = "int IsMultiplayer(void)";
|
||||
IsOneFlagCTF = "int IsOneFlagCTF(void)";
|
||||
IsTIDUsed = "bool IsTIDUsed (int tid)";
|
||||
Light_ChangeToValue = "Light_ChangeToValue(tag, value)";
|
||||
Light_Fade = "Light_Fade(tag, value, tics)";
|
||||
Light_Flicker = "Light_Flicker(tag, upper, lower)";
|
||||
|
@ -254,19 +259,19 @@ keywords
|
|||
Light_Strobe = "Light_Strobe(tag, upper, lower, u-tics, l-tics)";
|
||||
Light_StrobeDoom = "Light_StrobeDoom(tag, u-tics, l-tics)";
|
||||
Lightning = "Script expression Lightning";
|
||||
LineAttack = "LineAttack(int tid, fixed angle, fixed pitch, int damage, str pufftype = 'BulletPuff', str damagetype = 'None', fixed range = 2048, int flags = 0)\nFires a hitscan attack. If tid is 0, the activator of the script is the source of the attack.";
|
||||
LineAttack = "LineAttack(int tid, fixed angle, fixed pitch, int damage [, str pufftype = 'BulletPuff' [, str damagetype = 'None' [, fixed range = 2048 [, int flags = 0]]]])\nFires a hitscan attack. If tid is 0, the activator of the script is the source of the attack.";
|
||||
Line_AlignCeiling = "Line_AlignCeiling(lineid, side)";
|
||||
Line_AlignFloor = "Line_AlignFloor(lineid, side)";
|
||||
Line_SetBlocking = "Line_SetBlocking(lineid, setflags, clearflags)";
|
||||
Line_SetTextureOffset = "Line_SetTextureOffset(lineid, x, y, side, flags)";
|
||||
Line_SetTextureScale = "Line_SetTextureScale(lineid, x, y, side, flags)";
|
||||
LineSide = "LineSide()";
|
||||
LocalAmbientSound = "LocalAmbientSound(sound, volume)";
|
||||
LocalSetMusic = "LocalSetMusic(song, order, unused)";
|
||||
Log = "Log(type:expression)";
|
||||
MorphActor = "MorphActor(tid, playerclass, monsterclass, duration, style, morphflash, unmorphflash)";
|
||||
Music_Change = "Music_Change(music, pattern)";
|
||||
NamedScriptWait = "NamedScriptWait(script)";
|
||||
LineSide = "int LineSide(void)";
|
||||
LocalAmbientSound = "void LocalAmbientSound(str sound, int volume)";
|
||||
LocalSetMusic = "void LocalSetMusic (str song [, int order [, int unused]])";
|
||||
Log = "void Log(type:expression)\nLog will print something in the log area of the screen (top left), as well as logging it to the console.\nIt uses the same parameter format as the Print function.";
|
||||
MorphActor = "int MorphActor(int tid, [str playerclass, [str monsterclass, [int duration, [int style, [str morphflash, [str unmorphflash]]]]]])";
|
||||
Music_Change = "void Music_Change(str music, int pattern)";
|
||||
NamedScriptWait = "void NamedScriptWait(str script)";
|
||||
Net = "Script expression Net";
|
||||
NoiseAlert = "NoiseAlert(target_tid, emiter_tid)";
|
||||
Open = "Script expression Open";
|
||||
|
@ -286,19 +291,19 @@ keywords
|
|||
Plat_UpByValueStayTx = "Plat_UpByValueStayTx(tag, speed, height)";
|
||||
Plat_UpNearestWaitDownStay = "Plat_UpNearestWaitDownStay(tag, speed, delay)";
|
||||
Plat_UpWaitDownStay = "Plat_UpWaitDownStay(tag, speed, delay)";
|
||||
PlayActorSound = "PlayActorSound(tid, sound, channel, volume, looping, attenuation)";
|
||||
PlayActorSound = "void PlayActorSound(int tid, int sound, int channel, fixed volume, bool looping, fixed attenuation)";
|
||||
Player_SetTeam = "Player_SetTeam(team)";
|
||||
PlayerArmorpoints = "PlayerArmorpoints()";
|
||||
PlayerClass = "PlayerClass(playernumber)";
|
||||
PlayerCount = "PlayerCount()";
|
||||
PlayerFrags = "PlayerFrags()";
|
||||
PlayerHealth = "PlayerHealth()";
|
||||
PlayerInGame = "PlayerInGame(playernumber)";
|
||||
PlayerIsBot = "PlayerIsBot(playernumber)";
|
||||
PlayerNumber = "PlayerNumber()";
|
||||
PlayerTeam = "PlayerTeam()";
|
||||
PlayerArmorpoints = "int PlayerArmorpoints(void)";
|
||||
PlayerClass = "int PlayerClass(int playernumber)";
|
||||
PlayerCount = "int PlayerCount(void)\nReturns the number of players currently in the game";
|
||||
PlayerFrags = "int PlayerFrags(void)";
|
||||
PlayerHealth = "int PlayerHealth(void)";
|
||||
PlayerInGame = "bool PlayerInGame(int playernumber)\nReturns true if the player [0..7] is in the game";
|
||||
PlayerIsBot = "bool PlayerIsBot(int playernumber)\nReturns TRUE if the player [0..7] is a bot and FALSE if not";
|
||||
PlayerNumber = "int PlayerNumber(void)\nReturns the player number for the player who activated the script, starting at 0.\nFor scripts that were not activated by a player, PlayerNumber will return -1.";
|
||||
PlayerTeam = "int PlayerTeam(void)";
|
||||
PlayMovie = "PlayMovie(moviename)";
|
||||
PlaySound = "PlaySound(tid, sound, channel, volume, looping, attenuation)";
|
||||
PlaySound = "void PlaySound(int tid, str sound, int channel, fixed volume, bool looping, fixed attenuation)";
|
||||
Polyobj_DoorSlide = "Polyobj_DoorSlide(po, speed, angle, dist, delay)";
|
||||
Polyobj_DoorSwing = "Polyobj_DoorSwing(po, speed, angle, delay)";
|
||||
Polyobj_Move = "Polyobj_Move(po, speed, angle, dist)";
|
||||
|
@ -314,23 +319,23 @@ keywords
|
|||
Polyobj_RotateLeft = "Polyobj_RotateLeft(po, speed, angle)";
|
||||
Polyobj_RotateRight = "Polyobj_RotateRight(po, speed, angle)";
|
||||
Polyobj_Stop = "Polyobj_Stop(po)";
|
||||
PolyWait = "PolyWait(polyid)";
|
||||
Print = "Print(type:expression)";
|
||||
PrintBold = "PrintBold(type:expression)";
|
||||
PolyWait = "void PolyWait(int polyid)";
|
||||
Print = "void Print(type:expression)\nPrint will print something to the screen.\nPrint will only display for the activator of the script\nFor printing to all players, use PrintBold.";
|
||||
PrintBold = "void PrintBold(type:expression)\nThis is exactly the same as Print, except all players will see the printed text\non the screen instead of just the activator of the script.";
|
||||
Radius_Quake = "Radius_Quake(intensity, duration, damrad, tremrad, tid)";
|
||||
Radius_Quake2 = "Radius_Quake2(tid, intensity, duration, damrad, tremrad, sound)";
|
||||
Random = "Random(min, max)";
|
||||
Radius_Quake2 = "void Radius_Quake2(int tid, int intensity, int duration, int damrad, int tremrad, str sound)";
|
||||
Random = "int Random(int min, int max)";
|
||||
RedCount = "RedCount()";
|
||||
RedReturn = "Script expression RedReturn";
|
||||
RedScore = "RedScore()";
|
||||
RedTeamCount = "RedTeamCount()";
|
||||
RedTeamScore = "RedTeamScore()";
|
||||
ReplaceTextures = "ReplaceTextures(oldtexture, newtexture, flags)";
|
||||
ReplaceTextures = "void ReplaceTextures(str oldtexturename, str newtexturename [, int flags])\nReplaces all occurences of oldtexturename with newtexturename.\nNOT_ flags can be used.";
|
||||
Respawn = "Script expression Respawn";
|
||||
Restart = "Restart";
|
||||
Return = "Return";
|
||||
Script = "Script expression (Void)";
|
||||
ScriptWait = "ScriptWait(script)";
|
||||
Script = "Script expression";
|
||||
ScriptWait = "void ScriptWait(int script)";
|
||||
Scroll_Ceiling = "Scroll_Ceiling(tag, x-move, y-move, unused)";
|
||||
Scroll_Floor = "Scroll_Floor(tag, x-move, y-move, type)";
|
||||
Scroll_Texture_Both = "Scroll_Texture_Both(lineid, left, right, down, up)";
|
||||
|
@ -354,87 +359,88 @@ keywords
|
|||
Sector_SetRotation = "Sector_SetRotation(tag, floor-angle, ceiling-angle)";
|
||||
Sector_SetTranslucent = "Sector_SetTranslucent(tag, plane, amount, type)";
|
||||
Sector_SetWind = "Sector_SetWind(tag, amount, angle, useline)";
|
||||
SectorDamage = "SectorDamage(tag, amount, type, protectionitem, flags)";
|
||||
SectorSound = "SectorSound(sound, volume)";
|
||||
SectorDamage = "void SectorDamage(int tag, int amount, str type, str protection_item, int flags)\nDoes the damage only when the function is called,\nand damages everything in the tagged sector.\nUses DAMAGE_ flags.";
|
||||
SectorSound = "void SectorSound(str sound, int volume)";
|
||||
SendToCommunicator = "SendToCommunicator(voc_id, front_only, indentify, nolog)";
|
||||
SetActivator = "SetActivator(tid, pointer_selector)";
|
||||
SetActivatorToTarget = "SetActivatorToTarget(tid)";
|
||||
SetActorAngle = "SetActorAngle(tid, angle)";
|
||||
SetActorPitch = "SetActorPitch(tid, pitch)";
|
||||
SetActorPosition = "SetActorPosition(tid, x, y, z, fog)";
|
||||
SetActorProperty = "SetActorProperty(tid, property, value)";
|
||||
SetActorState = "SetActorState(tid, state, exact)";
|
||||
SetActorVelocity = "SetActorVelocity(tid, velx, vely, velz, add, setbob)";
|
||||
SetAirControl = "SetAirControl(amount)";
|
||||
SetAirSupply = "SetAirSupply(playernumber, tics)";
|
||||
SetAmmoCapacity = "SetAmmoCapacity(ammotype, maxamount)";
|
||||
SetCameraToTexture = "SetCameraToTexture(tag, texture, fov)";
|
||||
SetCeilingTrigger = "SetCeilingTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetCVar = "SetCVar(cvarname, newvalue)";
|
||||
SetCVarString = "SetCVarString(cvarname, newvalue)";
|
||||
SetActivator = "int SetActivator(int tid[, int pointer_selector])\nThis changes the activator of the script to the first actor found with the specified tid.\ntid: TID of the new activator.\npointer_selector: the pointer of the TID to set as the new activator (use AAPTR_ flags).";
|
||||
SetActivatorToTarget = "bool SetActivatorToTarget(int tid)\nThis changes the activator of the script to the current target\nof the first actor found with the specified tid.\nUsing a tid of 0 uses the current activator's target.";
|
||||
SetActorAngle = "void SetActorAngle(int tid, fixed angle)\nSets the actor's angle.\nangle: a fixed point angle in the range of 0.0 to 1.0 (N = 0.25, W = 0.5, S = 0.75, E = 1.0).";
|
||||
SetActorPitch = "void SetActorPitch(int tid, int pitch)\nSets the actor's Pitch.\npitch: a fixed point angle in the range of 0.0 to 1.0.";
|
||||
SetActorPosition = "bool SetActorPosition(int tid, fixed x, fixed y, fixed z, bool fog)\nThis function sets the x, y, and z coordinates of the specified actor, with or without teleport fog.\nReturns TRUE if the actor position was changed successfully.";
|
||||
SetActorProperty = "void SetActorProperty(int tid, int property, [int|float|str] value)\nproperty: one of the APROP_ properties.";
|
||||
SetActorState = "int SetActorState(int tid, str statename [, bool exact])\nForces the actor(s) with the matching tid into the specified state, as defined in Decorate.\nIf tid is 0, the activator is affected.\nThe exact parameter specifies whether or not partial state name matches are accepted.";
|
||||
SetActorVelocity = "bool SetActorVelocity(int tid, fixed velx, fixed vely, fixed velz, bool add, bool setbob)\nChanges actor velocity.\ntid: TID of things to affect. If 0, the activator is used.\nvelx, vely, velz: The desired velocity for the affected things.\nadd: If true, each affected actor's velocity is modified by the velx, vely\nand velz parameters, rather than replaced by them.\nsetbob: If true, the speed adjustment influences the bobbing of any concerned player actor.";
|
||||
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.";
|
||||
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.";
|
||||
SetFloorTrigger = "SetFloorTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetFont = "SetFont(font)";
|
||||
SetFont = "void SetFont(str fontlump)\nSets the current font (only within the script) to fontlump";
|
||||
SetGlobalFogParameter = "SetGlobalFogParameter(property, value)";
|
||||
SetGravity = "SetGravity(amount)";
|
||||
SetHUDClipRect = "SetHUDClipRect(x, y, width, height, wrapwidth)";
|
||||
SetHudSize = "SetHudSize(width, height, statusbar)";
|
||||
SetHUDWrapWidth = "SetHUDWrapWidth(wrapwidth)";
|
||||
SetLineActivation = "void SetLineActivation(int lineid, int activation)\nlineid: The id of the line of which to set the activation flags\nactivation: SPAC flags to set. Multiple flags can be set by using the pipe character | between the constant names";
|
||||
SetLineBlocking = "SetLineBlocking(lineid, setting)";
|
||||
SetLineMonsterBlocking = "SetLineMonsterBlocking(lineid, setting)";
|
||||
SetLineSpecial = "SetLineSpecial(lineid, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetLineTexture = "SetLineTexture(lineid, side, position, texture)";
|
||||
SetMarineSprite = "SetMarineSprite(tid, actorclass)";
|
||||
SetMarineWeapon = "SetMarineWeapon(tid, weapon)";
|
||||
SetMugShotState = "SetMugShotState(state)";
|
||||
SetMusic = "SetMusic(song, order, unused)";
|
||||
SetGravity = "void SetGravity(fixed amount)\nThis function sets the global gravity of an entire level.\nDefault is 800.0";
|
||||
SetHUDClipRect = "void SetHUDClipRect(int x, int y, int width, int height [, int wrapwidth])\nSets the clipping rectangle for future HUD messages.";
|
||||
SetHudSize = "void SetHudSize(int width, int height, bool statusbar)\nCauses text messages to be stretched or shrunk to match the size\nthey would appear if the user's resolution was width by height.";
|
||||
SetHUDWrapWidth = "void SetHudWrapWidth(int wrapwidth)\nSets the wrapping width for future HUD messages without altering the clipping rectangle.\nIf you set the wrapping width to 0, messages will wrap\nto the full width of the HUD, as normal.";
|
||||
SetLineActivation = "void SetLineActivation(int lineid, int activation)\nSets the line activation flags of the line with the specified id.\nlineid: The id of the line of which to set the activation flags\nactivation: SPAC_ flags to set. Multiple flags can be set by using the pipe character | between the constant names.";
|
||||
SetLineBlocking = "void SetLineBlocking (int lineid, int setting)\nDEPRECATED!\nUse Line_SetBlocking instead!";
|
||||
SetLineMonsterBlocking = "void SetLineMonsterBlocking(int lineid, int setting)\nDEPRECATED!\nUse Line_SetBlocking instead!";
|
||||
SetLineSpecial = "void SetLineSpecial(int lineid, int special [, int arg0 [, int arg1 [, int arg2 [, int arg3 [, int arg4]]]]])\nSetLineSpecial will change the special on all lines with the line id number specified.";
|
||||
SetLineTexture = "void SetLineTexture(int lineid, int line_side, int sidedef_texture, str texturename)\nSetLineTexture will change the specified texture on all lines with the line id number specified\nline_side: SIDE_ flags can be used.\nsidedef_texture: TEXTURE_ flags can be used.\ntexturename: the texture that will be set on the line. Use '-' to remove a texture.";
|
||||
SetMarineSprite = "void SetMarineSprite(int tid, str actorclass)\nChanges a Scripted Marine's sprite to match the sprite\nused in the specified actor's spawn state.";
|
||||
SetMarineWeapon = "void SetMarineWeapon(int tid, int weapon)\nSets a Scripted Marine's weapon on the fly.\nweapon: one of MARINEWEAPON_ flags";
|
||||
SetMugShotState = "void SetMugShotState(str state)\nSets the state of the mug shot in SBARINFO status bars.\nThe state you set will only be interrupted by damage or if the player\npicks up a weapon, provided the mugshot supports it.";
|
||||
SetMusic = "void SetMusic(str song [, int order [, int unused]])";
|
||||
SetPlayerProperty = "SetPlayerProperty(who, set, which)";
|
||||
SetPointer = "SetPointer(assign_slot, tid, pointer_selector, flags)";
|
||||
SetResultValue = "SetResultValue(value)";
|
||||
SetSkyScrollSpeed = "SetSkyScrollSpeed(skynumber, speed)";
|
||||
SetThingSpecial = "SetThingSpecial(tid, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetUserArray = "SetUserArray(tid, name, pos, value)";
|
||||
SetUserCVar = "SetUserCVar(playernum, cvarname, newvalue)";
|
||||
SetUserCVarString = "SetUserCVarString(playernum, cvarname, newvalue)";
|
||||
SetUserVariable = "SetUserVariable(tid, name, value)";
|
||||
SetWeapon = "SetWeapon(weapon)";
|
||||
sin = "sin(angle)";
|
||||
SinglePlayer = "SinglePlayer()";
|
||||
SoundSequence = "SoundSequence(sndseq)";
|
||||
SoundSequenceOnActor = "SoundSequenceOnActor(tid, sndseq)";
|
||||
SoundSequenceOnPolyObj = "SoundSequenceOnPolyObj(polyid, sndseq)";
|
||||
SoundSequenceOnSector = "SoundSequenceOnSector(tag, sndseq, location)";
|
||||
SoundVolume = "SoundVolume(tid, channel, volume)";
|
||||
Spawn = "Spawn(classname, x, y, z, newtid, angle)";
|
||||
SpawnForced = "SpawnForced(classname, x, y, z, newtid, angle)";
|
||||
SpawnProjectile = "SpawnProjectile(tid, classname, angle, speed, vspeed, gravity, newtid)";
|
||||
SpawnSpot = "SpawnSpot(classname, spottid, newtid, angle)";
|
||||
SpawnSpotFacing = "SpawnSpotFacing(classname, spottid, newtid)";
|
||||
SpawnSpotFacingForced = "SpawnSpotFacingForced(classname, spottid, newtid)";
|
||||
SpawnSpotForced = "SpawnSpotForced(classname, spottid, newtid, angle)";
|
||||
SetPointer = "bool SetPointer(int assign_slot, int tid[, int pointer_selector[, int flags]])\nSet the value of one of the caller's stored pointers.";
|
||||
SetResultValue = "void SetResultValue(int value)";
|
||||
SetSkyScrollSpeed = "void SetSkyScrollSpeed(int sky, fixed skyspeed)\nChanges the scrolling speed of a sky.\nThis is useful in conjunction with ChangeSky.\nsky: either 1 or 2.\nskyspeed: the desired scrolling speed.";
|
||||
SetThingSpecial = "void SetThingSpecial(int tid, int special [, int arg0 [, int arg1 [, int arg2 [, int arg3 [, int arg4]]]]])\nSets the special for any things with the same TID.\nThis is similar to Thing_SetSpecial, except it can only be used from ACS,\nand it can set all of a thing's special arguments.\nIf tid is 0, then the activator is used.";
|
||||
SetUserArray = "void SetUserArray(int tid, str name, int pos, int value)\nSets one of the affected actor's user array-bound variables.";
|
||||
SetUserCVar = "bool SetUserCVar(int playernumber, str cvar, int value)\nSets the console variable of a particular player.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, it is not writable, or the player doesn't exist.";
|
||||
SetUserCVarString = "bool SetUserCVarString(int playernumber, str cvar, str value)\nSets the console variable of a particular player.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, it is not writable, or the player doesn't exist.";
|
||||
SetUserVariable = "void SetUserVariable(int tid, str name, int value)\nSets one of the affected actor's user variables.";
|
||||
SetWeapon = "bool SetWeapon(str weaponname)\nSets the player's current weapon to weaponname.\nReturns TRUE if the weapon was set successfully, and FALSE if not.";
|
||||
sin = "fixed Sin(int angle)";
|
||||
SinglePlayer = "int SinglePlayer(void)";
|
||||
SoundSequence = "void SoundSequence(str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnActor = "void SoundSequenceOnActor(int tid, str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnPolyObj = "void SoundSequenceOnPolyobj(int polynum, str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnSector = "void SoundSequenceOnSector(int tag, str sndseq, int location)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundVolume = "void SoundVolume(int tid, int channel, fixed volume)\nChanges the volume of the currently playing sound by the actor(s) with the specified tid.\nIf tid is 0, the sound volume change is done to the sound being played by the activator of the script.";
|
||||
Spawn = "int Spawn(str classname, fixed x, fixed y, fixed z [, int tid [, int angle]])\nSpawns an actor at the given X, Y and Z coordinates.\nOptionally a TID and a byte angle can be specified.";
|
||||
SpawnForced = "int SpawnForced(str classname, fixed x, fixed y, fixed z [, int tid [, int angle]])\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe return value is the number of things spawned.";
|
||||
SpawnDecal = "int SpawnDecal(int tid, str decalname, int flags [, fixed angle = 0.0 [, fixed zoffset = 0.0 [, fixed distance = 64.0]]])\nCreates a decal on a wall by tracing a line from the actor with the\nspecified tid until hitting said wall, on which the decal is then created.\nIf tid is 0, the tracing is done from the activator of the script.\ndecalname: The name of the decal to create, as defined in DECALDEF.\nflags: use SDF_ flags\nThe return value of the function is the number of decals spawned.";
|
||||
SpawnProjectile = "void SpawnProjectile(int tid, string type, int angle, int speed, int vspeed, int gravity, int newtid)";
|
||||
SpawnSpot = "int SpawnSpot(str classname, int spottid [, int tid [, int angle]])\nRequires a MapSpot at the location where you want the Actor to spawn.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotFacing = "int SpawnSpotFacing(str classname, int spottid [, int tid])\nRequires a MapSpot at the location where you want the Actor to spawn.\nThe thing will assume the angle of the mapspot it is spawned to.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotFacingForced = "int SpawnSpotFacingForced(str classname, int spottid [, int tid])\nRequires a MapSpot at the location where you want the Actor to spawn.\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe thing will assume the angle of the mapspot it is spawned to.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotForced = "int SpawnSpotForced(str classname, int spottid [, int tid [, int angle]])\nRequires a MapSpot at the location where you want the Actor to spawn.\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe return value is the number of things spawned.";
|
||||
Special = "Special";
|
||||
Sqrt = "Sqrt(number)";
|
||||
Sqrt = "int Sqrt(int number)";
|
||||
Stairs_BuildDown = "Stairs_BuildDown(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildDownSync = "Stairs_BuildDownSync(tag, speed, height, reset)";
|
||||
Stairs_BuildUp = "Stairs_BuildUp(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildUpDoom = "Stairs_BuildUpDoom(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildUpSync = "Stairs_BuildUpSync(tag, speed, height, reset)";
|
||||
StartConversation = "StartConversation(talker_tid, facetalker)";
|
||||
StopSound = "StopSound(tid, channel)";
|
||||
Str = "Str expression";
|
||||
StrCmp = "StrCmp(string1, string2, maxcomparenum)";
|
||||
StrCpy = "StrCpy(a:destination, source, sourceindex)";
|
||||
StrIcmp = "StrIcmp(string1, string2, maxcomparenum)";
|
||||
StrLeft = "string StrLeft(string string, int length)\nCreates a new string containing the length first characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StrLen = "StrLen(string)";
|
||||
StrMid = "string StrMid(string string, int start, int length)\nCreates a new string containing the length characters of string starting from the one at position start.\nIf string does not exist or is shorter than start characters, an empty string is returned. \nIf string is shorter than start + length characters, the entire substring beginning at start is returned.";
|
||||
StrParam = "StrParam(type:expression)";
|
||||
StrRight = "string StrRight(string string, int length)\nCreates a new string containing the length last characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StopSound = "void StopSound(int tid, int channel)\nStops the sound currently playing on the specified channel for the actor with matching tid";
|
||||
str = "Str expression";
|
||||
StrCmp = "int StrCmp(str string1, str string2 [, int maxcomparenum])\nCompares the two strings passed in arguments string1 and string2 character by character.\nIf maxcomparenum is specified, it only compares up to maxcomparenum characters of each string.";
|
||||
StrCpy = "bool StrCpy(a:destination, string source [, int source_index])\nCopy a source string to a destination array as a series of characters.\nOptionally, the copy can start from a given index in the source string.\nReturns TRUE if the entire string (or substring) was successfully copied to the array;\nFALSE if the copy ran out of room or if a negative source_index was given.";
|
||||
StrIcmp = "int StrCmp(str string1, str string2 [, int maxcomparenum])\nStrIcmp is case-insensitive version of StrCmp";
|
||||
StrLeft = "str StrLeft(str string, int length)\nCreates a new string containing the length first characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StrLen = "int StrLen(str string)";
|
||||
StrMid = "str StrMid(str string, int start, int length)\nCreates a new string containing the length characters of string starting from the one at position start.\nIf string does not exist or is shorter than start characters, an empty string is returned. \nIf string is shorter than start + length characters, the entire substring beginning at start is returned.";
|
||||
StrParam = "int StrParam(type:expression)\nStrParam will create a new string formatted based upon the same method for Print or Log.\nThe return value is the string table index of the new string.";
|
||||
StrRight = "str StrRight(str string, int length)\nCreates a new string containing the length last characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
Suspend = "Suspend";
|
||||
Switch = "Switch(expression)";
|
||||
TagWait = "TagWait(tag)";
|
||||
TakeActorInventory = "TakeActorInventory(tid, inventoryitem, amount)";
|
||||
TakeInventory = "TakeInventory(inventoryitem, amount)";
|
||||
TagWait = "void TagWait(int tag)";
|
||||
TakeActorInventory = "void TakeActorInventory(int tid, str inventory_item, int amount)\nThis function will take the amount of items from the specified actor.\nTakeActorInventory can remove items that are flagged as undroppable.";
|
||||
TakeInventory = "void TakeInventory(str inventory_item, int amount)\nThis function will take the number of items specified from the activator.\nTakeInventory can remove items that are flagged as undroppable.";
|
||||
Team_GivePoints = "Team_GivePoints(team, points, announce)";
|
||||
Team_Score = "Team_Score(points, nogrin)";
|
||||
Teleport = "Teleport(tid, tag, nosourcefog)";
|
||||
|
@ -450,13 +456,13 @@ keywords
|
|||
Thing_Activate = "Thing_Activate(tid)";
|
||||
Thing_ChangeTID = "Thing_ChangeTID(oldtid, newtid)";
|
||||
Thing_Damage = "Thing_Damage(tid, amount, mod)";
|
||||
Thing_Damage2 = "Thing_Damage2(tid, amount, damagetype)";
|
||||
Thing_Damage2 = "int Thing_Damage2 (int tid, int amount, str type)\nDamages the specified actor.\nDamage type is specified by name.";
|
||||
Thing_Deactivate = "Thing_Deactivate(tid)";
|
||||
Thing_Destroy = "Thing_Destroy(tid, extreme, tag)";
|
||||
Thing_Hate = "Thing_Hate(hater, hatee, type)";
|
||||
Thing_Move = "Thing_Move(tid, destid, nofog)";
|
||||
Thing_Projectile = "Thing_Projectile(tid, type, angle, speed, vspeed)";
|
||||
Thing_Projectile2 = "Thing_Projectile2(tid, classname, angle, speed, vspeed, gravity, newtid)";
|
||||
Thing_Projectile2 = "void Thing_Projectile2(int tid, int type, int angle, int speed, int vspeed, int gravity, int newtid)";
|
||||
Thing_ProjectileAimed = "Thing_ProjectileAimed(tid, type, speed, target, newtid)";
|
||||
Thing_ProjectileGravity = "Thing_ProjectileGravity(tid, type, angle, speed, vspeed)";
|
||||
Thing_ProjectileIntercept = "Thing_ProjectileIntercept(tid, type, speed, target, newtid)";
|
||||
|
@ -470,24 +476,24 @@ keywords
|
|||
Thing_SpawnFacing = "Thing_SpawnFacing(tid, type, nofog, newtid)";
|
||||
Thing_SpawnNoFog = "Thing_SpawnNoFog(tid, type, angle, newtid)";
|
||||
Thing_Stop = "Thing_Stop(tid)";
|
||||
ThingCount = "ThingCount(type, tid)";
|
||||
ThingCountName = "ThingCountName(classname, tid)";
|
||||
ThingCountNameSector = "ThingCountNameSector(classname, tid, tag)";
|
||||
ThingCountSector = "ThingCountSector(type, tid, tag)";
|
||||
ThingSound = "ThingSound(tid, sound, volume)";
|
||||
ThingCount = "int ThingCount(int type, int tid)";
|
||||
ThingCountName = "int ThingCountName(str classname, int tid)";
|
||||
ThingCountNameSector = "int ThingCountNameSector(str classname, int tid, int tag)";
|
||||
ThingCountSector = "int ThingCountSector(int type, int tid, int tag)";
|
||||
ThingSound = "void ThingSound(int tid, str sound, int volume)\nPlays a sound at a thing.\nThis is a point sound, so anyone far away will not hear it as loudly";
|
||||
ThrustThing = "ThrustThing(angle, force, nolimit, tid)";
|
||||
ThrustThingZ = "ThrustThingZ(tid, speed, up_or_down, add_or_set)";
|
||||
Timer = "Timer()";
|
||||
Timer = "int Timer(void)";
|
||||
TranslucentLine = "TranslucentLine(lineid, amount, additive, moreflags)";
|
||||
UniqueTID = "UniqueTID(tid, limit)";
|
||||
UniqueTID = "int UniqueTID([int tid [, int limit]])";
|
||||
Unloading = "Script expression Unloading";
|
||||
UnMorphActor = "UnMorphActor(tid, force)";
|
||||
UnMorphActor = "int UnMorphActor (int tid[, bool force])";
|
||||
Until = "Until(expression)";
|
||||
UseActorInventory = "UseActorInventory(tid, inventoryitem)";
|
||||
UseInventory = "UseInventory(inventoryitem)";
|
||||
UseActorInventory = "int UseActorInventory (int tid, str classname)\nForces the actor(s) with the specified tid to use an item from their inventory, if they have one.\nReturns TRUE if the item was used successfully.";
|
||||
UseInventory = "int UseInventory (str classname)\nForces the activator to use the specified inventory item, if he has it.\nReturns TRUE if the item was used successfully.";
|
||||
UsePuzzleItem = "UsePuzzleItem(item, script, arg1, arg2, arg3)";
|
||||
VectorAngle = "VectorAngle(x, y)";
|
||||
VectorLength = "VectorLength(x, y)";
|
||||
VectorAngle = "fixed VectorAngle(int x, int y)";
|
||||
VectorLength = "int VectorLength(int x, int y)";
|
||||
Void = "Void";
|
||||
While = "While(expression)";
|
||||
WhiteReturn = "Script expression WhiteReturn";
|
||||
|
@ -801,6 +807,8 @@ constants
|
|||
PTROP_UNSAFETARGET;
|
||||
SCROLL;
|
||||
SCROLL_AND_CARRY;
|
||||
SDF_ABSANGLE;
|
||||
SDF_PERMANENT;
|
||||
SECF_FLOORDROP;
|
||||
SECF_NOFALLINGDAMAGE;
|
||||
SECF_NORESPAWN;
|
||||
|
|
|
@ -35,34 +35,34 @@ keywords
|
|||
#WadAuthor = "#WadAuthor";
|
||||
ACS_Execute = "ACS_Execute(script, map, arg1, arg2, arg3)";
|
||||
ACS_ExecuteAlways = "ACS_ExecuteAlways(script, map, arg1, arg2, arg3)";
|
||||
ACS_ExecuteWait = "ACS_ExecuteWait(script, unused, arg1, arg2, arg3)";
|
||||
ACS_ExecuteWait = "void ACS_ExecuteWait(int script, int unused, int arg1, int arg2, int arg3)";
|
||||
ACS_ExecuteWithResult = "ACS_ExecuteWithResult(script, arg1, arg2, arg3)";
|
||||
ACS_LockedExecute = "ACS_LockedExecute(script, map, arg1, arg2, lock)";
|
||||
ACS_LockedExecuteDoor = "ACS_LockedExecuteDoor(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedExecute = "ACS_NamedExecute(script, map, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteAlways = "ACS_NamedExecuteAlways(script, map, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteWait = "ACS_NamedExecuteWait(script, unused, arg1, arg2, arg3)";
|
||||
ACS_NamedExecuteWithResult = "ACS_NamedExecuteWithResult(script, arg1, arg2, arg3)";
|
||||
ACS_NamedLockedExecute = "ACS_NamedLockedExecute(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedLockedExecuteDoor = "ACS_NamedLockedExecuteDoor(script, map, arg1, arg2, lock)";
|
||||
ACS_NamedSuspend = "ACS_NamedSuspend(script, map)";
|
||||
ACS_NamedTerminate = "ACS_NamedTerminate(script, map)";
|
||||
ACS_NamedExecute = "bool ACS_NamedExecute(str script, int map, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteAlways = "bool ACS_NamedExecuteAlways(str script, int map, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteWait = "void ACS_NamedExecuteWait(str script, int unused, int arg1, int arg2, int arg3)";
|
||||
ACS_NamedExecuteWithResult = "int ACS_NamedExecuteWithResult(str script, int arg1, int arg2, int arg3, int arg4)";
|
||||
ACS_NamedLockedExecute = "bool ACS_NamedLockedExecute(str script, int map, int arg1, int arg2, int lock)";
|
||||
ACS_NamedLockedExecuteDoor = "bool ACS_NamedLockedExecuteDoor(str script, int map, int arg1, int arg2, int lock)";
|
||||
ACS_NamedSuspend = "bool ACS_NamedSuspend(str script, int map)";
|
||||
ACS_NamedTerminate = "bool ACS_NamedTerminate(str script, int map)";
|
||||
ACS_Suspend = "ACS_Suspend(script, map)";
|
||||
ACS_Terminate = "ACS_Terminate(script, map)";
|
||||
ActivatorSound = "ActivatorSound(sound, volume)";
|
||||
ActivatorTID = "ActivatorTID()";
|
||||
AmbientSound = "AmbientSound(sound, volume)";
|
||||
AnnouncerSound = "AnnouncerSound(sound, flags)";
|
||||
ActivatorSound = "void ActivatorSound(str sound, int volume)";
|
||||
ActivatorTID = "int ActivatorTID(void)";
|
||||
AmbientSound = "void AmbientSound(str sound, int volume)";
|
||||
//AnnouncerSound = "void AnnouncerSound(str sound, int flags)";
|
||||
Autosave = "Autosave()";
|
||||
BlueCount = "BlueCount()";
|
||||
BlueReturn = "Script expression BlueReturn";
|
||||
BlueScore = "BlueScore()";
|
||||
BlueTeamCount = "BlueTeamCount()";
|
||||
BlueTeamScore = "BlueTeamScore()";
|
||||
//BlueCount = "BlueCount()";
|
||||
//BlueReturn = "Script expression BlueReturn";
|
||||
//BlueScore = "BlueScore()";
|
||||
//BlueTeamCount = "BlueTeamCount()";
|
||||
//BlueTeamScore = "BlueTeamScore()";
|
||||
Bool = "Bool expression";
|
||||
Break = "Break";
|
||||
CancelFade = "CancelFade()";
|
||||
Case = "Case expression:";
|
||||
CancelFade = "void CancelFade(void)\nIf either FadeTo or FadeRange is currently in progress,\nCancelFade stops it and turns off the palette flash.";
|
||||
Case = "Case expression";
|
||||
Ceiling_CrushAndRaise = "Ceiling_CrushAndRaise(tag, speed, crush, crushmode)";
|
||||
Ceiling_CrushAndRaiseA = "Ceiling_CrushAndRaiseA(tag, dspeed, uspeed, crush, crushmode)";
|
||||
Ceiling_CrushAndRaiseDist = "Ceiling_CrushAndRaiseDist(tag, dist, speed, damage, crushmode)";
|
||||
|
@ -86,39 +86,40 @@ keywords
|
|||
Ceiling_RaiseInstant = "Ceiling_RaiseInstant(tag, unused, height)";
|
||||
Ceiling_RaiseToNearest = "Ceiling_RaiseToNearest(tag, speed)";
|
||||
Ceiling_Waggle = "Ceiling_Waggle(tag, amp, freq, offset, time)";
|
||||
ChangeActorAngle = "ChangeActorAngle(int tid, fixed angle, bool interpolate = false)";
|
||||
ChangeActorPitch = "ChangeActorPitch(int tid, fixed pitch, bool interpolate = false)";
|
||||
ChangeActorAngle = "ChangeActorAngle(int tid, fixed angle [, bool interpolate = false])\nSets the angle for the actors with the specified tid.\nIf tid is 0, it sets the angle for the activator of the script.\nangle: a fixed point angle in the range of 0.0 to 1.0 (N = 0.25, W = 0.5, S = 0.75, E = 1.0).";
|
||||
ChangeActorPitch = "ChangeActorPitch(int tid, fixed pitch [, bool interpolate = false])\nSets the pitch for the actors with the specified tid. If tid is 0, it sets the pitch for the activator of the script.\npitch: a fixed point angle in the range of 0.0 to 1.0.";
|
||||
ChangeCamera = "ChangeCamera(tid, who, revert)";
|
||||
ChangeCeiling = "ChangeCeiling(tag, flat)";
|
||||
ChangeFloor = "ChangeFloor(tag, flat)";
|
||||
ChangeLevel = "ChangeLevel(mapname, position, flags, skill)";
|
||||
ChangeCeiling = "void ChangeCeiling(int tag, str flatname)";
|
||||
ChangeFloor = "void ChangeFloor(int tag, str flatname)";
|
||||
ChangeLevel = "void ChangeLevel(str mapname, int position, int flags [, int skill])\nChanges to a new map, places the player at the specified start spot, and optionally changes the skill level at the same time.";
|
||||
ChangeSkill = "ChangeSkill(skill)";
|
||||
ChangeSky = "ChangeSky(sky1, sky2)";
|
||||
CheckActorCeilingTexture = "CheckActorCeilingTexture(tid, texture)";
|
||||
CheckActorClass = "CheckActorClass(tid, class)";
|
||||
CheckActorFloorTexture = "CheckActorFloorTexture(tid, texture)";
|
||||
CheckActorInventory = "CheckActorInventory(tid, inventoryitem)";
|
||||
CheckActorProperty = "CheckActorProperty(tid, property, value)";
|
||||
CheckFlag = "bool CheckFlag(int tid, string flag)\nChecks to see if the actor with the matching tid has the specified actor flag set.\nIf tid is 0, the check is performed on the activator of the script.";
|
||||
CheckInventory = "CheckInventory(inventoryitem)";
|
||||
CheckPlayerCamera = "CheckPlayerCamera(player)";
|
||||
CheckSight = "CheckSight(source, dest, flags)";
|
||||
CheckWeapon = "CheckWeapon(weapon)";
|
||||
ClassifyActor = "ClassifyActor(tid)";
|
||||
ClearActorInventory = "ClearActorInventory(tid)";
|
||||
ChangeSky = "void ChangeSky(str sky1, str sky2)\nChanges the sky texture to sky1 and the second sky texture to sky2.\nBoth textures must be the same height if doublesky is enabled.\nYou may also use any flat, pname, sprite or internal graphic (such as TITLEPIC) in place of an actual texture.\nUseful in conjunction with SetSkyScrollSpeed.";
|
||||
CheckActorCeilingTexture = "bool CheckActorCeilingTexture(int tid, str texture)";
|
||||
CheckActorClass = "bool CheckActorClass(int tid, str class)";
|
||||
CheckActorFloorTexture = "bool CheckActorFloorTexture(int tid, str texture)";
|
||||
CheckActorInventory = "int CheckActorInventory(int tid, str inventory_item)\nChecks the given actor's inventory for the item specified by inventory_item";
|
||||
CheckActorProperty = "bool CheckActorProperty(int tid, int property, [int|float|str] value)";
|
||||
CheckFlag = "bool CheckFlag(int tid, str flag)\nChecks to see if the actor with the matching tid has the specified actor flag set.\nIf tid is 0, the check is performed on the activator of the script.";
|
||||
CheckFont = "bool CheckFont(str fontname)";
|
||||
CheckInventory = "int CheckInventory(str inventory_item)\nChecks the inventory of the actor who activated the script for the item specified by inventory_item";
|
||||
CheckPlayerCamera = "int CheckPlayerCamera(int player)";
|
||||
CheckSight = "bool CheckSight(int source, int dest, int flags)";
|
||||
CheckWeapon = "bool CheckWeapon(str weapon)\nChecks if player's active weapon is the weapon with specified class name.";
|
||||
ClassifyActor = "int ClassifyActor(int tid)";
|
||||
ClearActorInventory = "void ClearActorInventory(int tid)\nThis function clears the specified actor's inventory.";
|
||||
ClearForceField = "ClearForceField(tag)";
|
||||
ClearInventory = "ClearInventory()";
|
||||
ClearLineSpecial = "ClearLineSpecial()";
|
||||
ConsoleCommand = "ConsoleCommand(command)";
|
||||
ClearInventory = "void ClearInventory(void)\nClears the player's inventory of weapons, ammo, armor and usable items.";
|
||||
ClearLineSpecial = "void ClearLineSpecial(void)\nClears the special of the line that activated the script.";
|
||||
//ConsoleCommand = "void ConsoleCommand (str command)";
|
||||
Const = "Const";
|
||||
Continue = "Continue";
|
||||
cos = "cos(angle)";
|
||||
CreateTranslation = "CreateTranslation(transnumber, translation, translation, translation, ...)";
|
||||
cos = "fixed Cos(int angle)";
|
||||
CreateTranslation = "void CreateTranslation(int transnumber, a:b=c:d, ...)";
|
||||
DamageThing = "DamageThing(amount, mod)";
|
||||
Death = "Script expression Death";
|
||||
Default = "Default:";
|
||||
Delay = "Delay(tics)";
|
||||
Disconnect = "Script expression Disconnect";
|
||||
Delay = "void Delay(int tics)";
|
||||
Disconnect = "Disconnect script expression";
|
||||
Do = "Do";
|
||||
Door_Animated = "Door_Animated(tag, speed, delay, lock)";
|
||||
Door_Close = "Door_Close(tag, speed, lighttag)";
|
||||
|
@ -126,7 +127,7 @@ keywords
|
|||
Door_LockedRaise = "Door_LockedRaise(tag, speed, delay, lock, lighttag)";
|
||||
Door_Open = "Door_Open(tag, speed, lighttag)";
|
||||
Door_Raise = "Door_Raise(tag, speed, delay, lighttag)";
|
||||
DropItem = "int DropItem(int tid, string item, int dropamount = -1, int chance = 256)\nCauses actors with the matching tid to drop the specified item.\nIf tid is 0, the activator of the script is considered to be the dropper of the item.\nThis works in a similar way to the DropItem actor property.\nThe return value of the function is the number of dropped items.";
|
||||
DropItem = "int DropItem(int tid, str item [, int dropamount = -1 [, int chance = 256]])\nCauses actors with the matching tid to drop the specified item.\nIf tid is 0, the activator of the script is considered to be the dropper of the item.\nThis works in a similar way to the DropItem actor property.\nThe return value of the function is the number of dropped items.";
|
||||
Elevator_LowerToNearest = "Elevator_LowerToNearest(tag, speed)";
|
||||
Elevator_MoveToFloor = "Elevator_MoveToFloor(tag, speed)";
|
||||
Elevator_RaiseToNearest = "Elevator_RaiseToNearest(tag, speed)";
|
||||
|
@ -134,11 +135,11 @@ keywords
|
|||
Enter = "Script expression Enter";
|
||||
Exit_Normal = "Exit_Normal(pos)";
|
||||
Exit_Secret = "Exit_Secret(pos)";
|
||||
FadeRange = "FadeRange(red1, green1, blue1, amount1, red2, green2, blue2, amount2, seconds)";
|
||||
FadeTo = "FadeTo(red, green, blue, amount, seconds)";
|
||||
FixedDiv = "FixedDiv(a, b)";
|
||||
FixedMul = "FixedMul(a, b)";
|
||||
FixedSqrt = "FixedSqrt(number)";
|
||||
FadeRange = "void FadeRange (int red1, int green1, int blue1, fixed amount1, int red2, int green2, int blue2, fixed amount2, fixed seconds)\nSets the current flash to the first color set and then fades it to the second color set over the specified number of seconds.";
|
||||
FadeTo = "void FadeTo (int red, int green, int blue, fixed amount, fixed seconds)\nFades the activator's view from the current palette flash to another one.\nThis will also work if the activator is looking through another viewpoint (using a camera, etc.).";
|
||||
FixedDiv = "fixed FixedDiv(int a, int b)";
|
||||
FixedMul = "fixed FixedMul(int a, int b)";
|
||||
FixedSqrt = "fixed FixedSqrt(fixed number)";
|
||||
Floor_CrushStop = "Floor_CrushStop(tag)";
|
||||
Floor_Donut = "Floor_Donut(ptag, pspeed, sspeed)";
|
||||
Floor_LowerByValue = "Floor_LowerByValue(tag, speed, height)";
|
||||
|
@ -170,8 +171,8 @@ keywords
|
|||
ForceField = "ForceField()";
|
||||
FS_Execute = "FS_Execute(script, side, keynum, message)";
|
||||
Function = "Function Void expression (Void)";
|
||||
GameSkill = "GameSkill()";
|
||||
GameType = "GameType()";
|
||||
GameSkill = "int GameSkill(void)";
|
||||
GameType = "int GameType(void)";
|
||||
Generic_Ceiling = "Generic_Ceiling(tag, speed, height, target, flag)";
|
||||
Generic_Crusher = "Generic_Crusher(tag, dspeed, uspeed, silent, crush)";
|
||||
Generic_Crusher2 = "Generic_Crusher2(tag, dspeed, uspeed, silent, crush)";
|
||||
|
@ -179,65 +180,67 @@ keywords
|
|||
Generic_Floor = "Generic_Floor(tag, speed, height, target, flags)";
|
||||
Generic_Lift = "Generic_Lift(tag, speed, delay, type, height)";
|
||||
Generic_Stairs = "Generic_Stairs(tag, speed, height, flags, reset)";
|
||||
GetActorAngle = "GetActorAngle(tid)";
|
||||
GetActorCeilingZ = "GetActorCeilingZ(tid)";
|
||||
GetActorClass = "GetActorClass(tid)";
|
||||
GetActorFloorZ = "GetActorFloorZ(tid)";
|
||||
GetActorLightLevel = "GetActorLightLevel(tid)";
|
||||
GetActorPitch = "GetActorPitch(tid)";
|
||||
GetActorProperty = "GetActorProperty(tid, property)";
|
||||
GetActorVelX = "GetActorVelX(tid)";
|
||||
GetActorVelY = "GetActorVelY(tid)";
|
||||
GetActorVelZ = "GetActorVelZ(tid)";
|
||||
GetActorViewHeight = "GetActorViewHeight(tid)";
|
||||
GetActorX = "GetActorX(tid)";
|
||||
GetActorY = "GetActorY(tid)";
|
||||
GetActorZ = "GetActorZ(tid)";
|
||||
GetAirSupply = "GetAirSupply(playernumber)";
|
||||
GetAmmoCapacity = "GetAmmoCapacity(ammotype)";
|
||||
GetArmorType = "GetArmorType(armortype, playernumber)";
|
||||
GetChar = "GetChar(string, index)";
|
||||
GetCVar = "GetCVar(cvarname)";
|
||||
GetCVarString = "GetCVarString(cvarname)";
|
||||
GetInvasionState = "GetInvasionState()";
|
||||
GetInvasionWave = "GetInvasionWave()";
|
||||
GetLevelInfo = "GetLevelInfo(levelinfo)";
|
||||
GetActorAngle = "fixed GetActorAngle(int tid)";
|
||||
GetActorCeilingZ = "fixed GetActorCeilingZ(int tid)";
|
||||
GetActorClass = "str GetActorClass(int tid)";
|
||||
GetActorFloorZ = "fixed GetActorFloorZ(int tid)";
|
||||
GetActorLightLevel = "int GetActorLightLevel(int tid)";
|
||||
GetActorPitch = "fixed GetActorPitch(int tid)";
|
||||
GetActorPowerupTics = "int GetActorPowerupTics(int tid, str powerup)";
|
||||
GetActorProperty = "int GetActorProperty(int tid, int property)";
|
||||
GetActorVelX = "fixed GetActorVelX(int tid)";
|
||||
GetActorVelY = "fixed GetActorVelY(int tid)";
|
||||
GetActorVelZ = "fixed GetActorVelZ(int tid)";
|
||||
GetActorViewHeight = "fixed GetActorViewHeight(int tid)";
|
||||
GetActorX = "fixed GetActorX(int tid)";
|
||||
GetActorY = "fixed GetActorY(int tid)";
|
||||
GetActorZ = "fixed GetActorZ(int tid)";
|
||||
GetAirSupply = "int GetAirSupply(int playernum)";
|
||||
GetAmmoCapacity = "int GetAmmoCapacity(str classname)";
|
||||
GetArmorType = "int GetArmorType(str armortype, int playernum)";
|
||||
GetChar = "int GetChar(str string, int index)";
|
||||
GetCVar = "int GetCVar(str cvar)";
|
||||
GetCVarString = "str GetCVarString(str cvar)";
|
||||
//GetInvasionState = "GetInvasionState()";
|
||||
//GetInvasionWave = "GetInvasionWave()";
|
||||
GetLevelInfo = "int GetLevelInfo(int levelinfo)";
|
||||
GetLineActivation = "int GetLineActivation(int lineid)\nlineid: The id of the line of which to get the activation flags.\nReturns SPAC flags as a bitfield";
|
||||
GetLineRowOffset = "GetLineRowOffset()";
|
||||
GetLineUDMFFixed = "GetLineUDMFFixed(lineid, key)";
|
||||
GetLineUDMFInt = "GetLineUDMFInt(lineid, key)";
|
||||
GetPlayerInfo = "GetPlayerInfo(playernumber, playerinfo)";
|
||||
GetPlayerInput = "GetPlayerInput(playernumber, input)";
|
||||
GetPolyobjX = "GetPolyobjX(polyid)";
|
||||
GetPolyobjY = "GetPolyobjY(polyid)";
|
||||
GetScreenHeight = "GetScreenHeight()";
|
||||
GetScreenWidth = "GetScreenWidth()";
|
||||
GetSectorCeilingZ = "GetSectorCeilingZ(tag, x, y)";
|
||||
GetSectorFloorZ = "GetSectorFloorZ(tag, x, y)";
|
||||
GetSectorLightLevel = "GetSectorLightLevel(tag)";
|
||||
GetSectorUDMFFixed = "GetSectorUDMFFixed(tag, key)";
|
||||
GetSectorUDMFInt = "GetSectorUDMFInt(tag, key)";
|
||||
GetSideUDMFFixed = "GetSideUDMFFixed(lineid, side, key)";
|
||||
GetSideUDMFInt = "GetSideUDMFInt(lineid, side, key)";
|
||||
GetThingUDMFFixed = "GetThingUDMFFixed(tid, key)";
|
||||
GetThingUDMFInt = "GetThingUDMFInt(tid, key)";
|
||||
GetUserArray = "GetUserArray(tid, name, pos)";
|
||||
GetUserCVar = "GetUserCVar(playernum, cvarname)";
|
||||
GetUserCVarString = "GetUserCVarString(playernum, cvarname)";
|
||||
GetUserVariable = "GetUserVariable(tid, name)";
|
||||
GetWeapon = "GetWeapon()";
|
||||
GiveActorInventory = "GiveActorInventory(tid, inventoryitem, amount)";
|
||||
GiveInventory = "GiveInventory(inventoryitem, amount)";
|
||||
GetLineRowOffset = "int GetLineRowOffset(void)";
|
||||
GetLineUDMFFixed = "fixed GetLineUDMFFixed(int lineid, str key)";
|
||||
GetLineUDMFInt = "int GetLineUDMFInt(int lineid, str key)";
|
||||
GetPlayerInfo = "int GetPlayerInfo(int playernumber, int playerinfo)";
|
||||
GetPlayerInput = "int GetPlayerInput(int player, int input)";
|
||||
GetPolyobjX = "fixed GetPolyobjX(int polyid)";
|
||||
GetPolyobjY = "fixed GetPolyobjY(int polyid)";
|
||||
GetScreenHeight = "int GetScreenHeight(void)";
|
||||
GetScreenWidth = "int GetScreenWidth(void)";
|
||||
GetSectorCeilingZ = "int GetSectorCeilingZ(int tag, int x, int y)";
|
||||
GetSectorFloorZ = "fixed GetSectorFloorZ(int tag, int x, int y)";
|
||||
GetSectorLightLevel = "int GetSectorLightLevel(int tag)";
|
||||
GetSectorUDMFFixed = "fixed GetSectorUDMFFixed(int tag, str key)";
|
||||
GetSectorUDMFInt = "int GetSectorUDMFInt(int tag, str key)";
|
||||
GetSideUDMFFixed = "fixed GetSideUDMFFixed(int lineid, bool side, str key)";
|
||||
GetSideUDMFInt = "int GetSideUDMFInt(int lineid, bool side, str key)";
|
||||
GetSigilPieces = "int GetSigilPieces (void)\nReturns the number of Sigil pieces that are held by the player";
|
||||
GetThingUDMFFixed = "fixed GetThingUDMFFixed(int thingid, str key)";
|
||||
GetThingUDMFInt = "int GetThingUDMFInt(int thingid, str key)";
|
||||
GetUserArray = "void GetUserArray(int tid, str name, int pos)";
|
||||
GetUserCVar = "int GetUserCVar(int playernumber, str cvar)";
|
||||
GetUserCVarString = "str GetUserCVarString(int playernumber, str cvar)";
|
||||
GetUserVariable = "int GetUserVariable(int tid, str name)";
|
||||
GetWeapon = "str GetWeapon (void)\nReturns the class name of the weapon currently equipped by the player as a string";
|
||||
GiveActorInventory = "void GiveActorInventory(int tid, str inventory_item, int amount)\nThis function will give the amount of items to the specifed actor.\nThis function does not treat tid 0 as the activator of the script";
|
||||
GiveInventory = "void GiveInventory(str inventory_item, int amount)\nThis function will give the number of items specified to the activator.";
|
||||
GlassBreak = "GlassBreak(dontspawnjunk)";
|
||||
Global = "Global Int expression:identifier";
|
||||
HealThing = "HealThing(amount)";
|
||||
HudMessage = "HudMessage(text; type, id, color, x, y, holdtime, alpha)";
|
||||
HudMessageBold = "HudMessageBold(text; type, id, color, x, y, holdtime, alpha)";
|
||||
HudMessage = "void hudmessage(text; int type, int id, int color, fixed x, fixed y, fixed holdTime)";
|
||||
HudMessageBold = "void HudMessageBold(text; int type, int id, int color, fixed x, fixed y, fixed holdTime)";
|
||||
If = "If(expression)";
|
||||
Int = "Int expression";
|
||||
IsMultiplayer = "IsMultiplayer()";
|
||||
IsOneFlagCTF = "IsOneFlagCTF()";
|
||||
IsTIDUsed = "IsTIDUsed(tid)";
|
||||
//IsMultiplayer = "int IsMultiplayer(void)";
|
||||
//IsOneFlagCTF = "int IsOneFlagCTF(void)";
|
||||
IsTIDUsed = "bool IsTIDUsed (int tid)";
|
||||
Light_ChangeToValue = "Light_ChangeToValue(tag, value)";
|
||||
Light_Fade = "Light_Fade(tag, value, tics)";
|
||||
Light_Flicker = "Light_Flicker(tag, upper, lower)";
|
||||
|
@ -251,19 +254,19 @@ keywords
|
|||
Light_Strobe = "Light_Strobe(tag, upper, lower, u-tics, l-tics)";
|
||||
Light_StrobeDoom = "Light_StrobeDoom(tag, u-tics, l-tics)";
|
||||
Lightning = "Script expression Lightning";
|
||||
LineAttack = "LineAttack(int tid, fixed angle, fixed pitch, int damage, str pufftype = 'BulletPuff', str damagetype = 'None', fixed range = 2048, int flags = 0)\nFires a hitscan attack. If tid is 0, the activator of the script is the source of the attack.";
|
||||
LineAttack = "LineAttack(int tid, fixed angle, fixed pitch, int damage [, str pufftype = 'BulletPuff' [, str damagetype = 'None' [, fixed range = 2048 [, int flags = 0]]]])\nFires a hitscan attack. If tid is 0, the activator of the script is the source of the attack.";
|
||||
Line_AlignCeiling = "Line_AlignCeiling(lineid, side)";
|
||||
Line_AlignFloor = "Line_AlignFloor(lineid, side)";
|
||||
Line_SetBlocking = "Line_SetBlocking(lineid, setflags, clearflags)";
|
||||
Line_SetTextureOffset = "Line_SetTextureOffset(lineid, x, y, side, flags)";
|
||||
Line_SetTextureScale = "Line_SetTextureScale(lineid, x, y, side, flags)";
|
||||
LineSide = "LineSide()";
|
||||
LocalAmbientSound = "LocalAmbientSound(sound, volume)";
|
||||
LocalSetMusic = "LocalSetMusic(song, order, unused)";
|
||||
Log = "Log(type:expression)";
|
||||
MorphActor = "MorphActor(tid, playerclass, monsterclass, duration, style, morphflash, unmorphflash)";
|
||||
Music_Change = "Music_Change(music, pattern)";
|
||||
NamedScriptWait = "NamedScriptWait(script)";
|
||||
LineSide = "int LineSide(void)";
|
||||
LocalAmbientSound = "void LocalAmbientSound(str sound, int volume)";
|
||||
LocalSetMusic = "void LocalSetMusic (str song [, int order [, int unused]])";
|
||||
Log = "void Log(type:expression)\nLog will print something in the log area of the screen (top left), as well as logging it to the console.\nIt uses the same parameter format as the Print function.";
|
||||
MorphActor = "int MorphActor(int tid, [str playerclass, [str monsterclass, [int duration, [int style, [str morphflash, [str unmorphflash]]]]]])";
|
||||
//Music_Change = "void Music_Change(str music, int pattern)";
|
||||
NamedScriptWait = "void NamedScriptWait(str script)";
|
||||
Net = "Script expression Net";
|
||||
NoiseAlert = "NoiseAlert(target_tid, emiter_tid)";
|
||||
Open = "Script expression Open";
|
||||
|
@ -283,19 +286,19 @@ keywords
|
|||
Plat_UpByValueStayTx = "Plat_UpByValueStayTx(tag, speed, height)";
|
||||
Plat_UpNearestWaitDownStay = "Plat_UpNearestWaitDownStay(tag, speed, delay)";
|
||||
Plat_UpWaitDownStay = "Plat_UpWaitDownStay(tag, speed, delay)";
|
||||
PlayActorSound = "PlayActorSound(tid, sound, channel, volume, looping, attenuation)";
|
||||
Player_SetTeam = "Player_SetTeam(team)";
|
||||
PlayerArmorpoints = "PlayerArmorpoints()";
|
||||
PlayerClass = "PlayerClass(playernumber)";
|
||||
PlayerCount = "PlayerCount()";
|
||||
PlayerFrags = "PlayerFrags()";
|
||||
PlayerHealth = "PlayerHealth()";
|
||||
PlayerInGame = "PlayerInGame(playernumber)";
|
||||
PlayerIsBot = "PlayerIsBot(playernumber)";
|
||||
PlayerNumber = "PlayerNumber()";
|
||||
PlayerTeam = "PlayerTeam()";
|
||||
PlayActorSound = "void PlayActorSound(int tid, int sound, int channel, fixed volume, bool looping, fixed attenuation)";
|
||||
//Player_SetTeam = "Player_SetTeam(team)";
|
||||
//PlayerArmorpoints = "int PlayerArmorpoints(void)";
|
||||
PlayerClass = "int PlayerClass(int playernumber)";
|
||||
PlayerCount = "int PlayerCount(void)\nReturns the number of players currently in the game";
|
||||
PlayerFrags = "int PlayerFrags(void)";
|
||||
//PlayerHealth = "int PlayerHealth(void)";
|
||||
PlayerInGame = "bool PlayerInGame(int playernumber)\nReturns true if the player [0..7] is in the game";
|
||||
PlayerIsBot = "bool PlayerIsBot(int playernumber)\nReturns TRUE if the player [0..7] is a bot and FALSE if not";
|
||||
PlayerNumber = "int PlayerNumber(void)\nReturns the player number for the player who activated the script, starting at 0.\nFor scripts that were not activated by a player, PlayerNumber will return -1.";
|
||||
//PlayerTeam = "int PlayerTeam(void)";
|
||||
PlayMovie = "PlayMovie(moviename)";
|
||||
PlaySound = "PlaySound(tid, sound, channel, volume, looping, attenuation)";
|
||||
PlaySound = "void PlaySound(int tid, str sound, int channel, fixed volume, bool looping, fixed attenuation)";
|
||||
Polyobj_DoorSlide = "Polyobj_DoorSlide(po, speed, angle, dist, delay)";
|
||||
Polyobj_DoorSwing = "Polyobj_DoorSwing(po, speed, angle, delay)";
|
||||
Polyobj_Move = "Polyobj_Move(po, speed, angle, dist)";
|
||||
|
@ -311,23 +314,23 @@ keywords
|
|||
Polyobj_RotateLeft = "Polyobj_RotateLeft(po, speed, angle)";
|
||||
Polyobj_RotateRight = "Polyobj_RotateRight(po, speed, angle)";
|
||||
Polyobj_Stop = "Polyobj_Stop(po)";
|
||||
PolyWait = "PolyWait(polyid)";
|
||||
Print = "Print(type:expression)";
|
||||
PrintBold = "PrintBold(type:expression)";
|
||||
PolyWait = "void PolyWait(int polyid)";
|
||||
Print = "void Print(type:expression)\nPrint will print something to the screen.\nPrint will only display for the activator of the script\nFor printing to all players, use PrintBold.";
|
||||
PrintBold = "void PrintBold(type:expression)\nThis is exactly the same as Print, except all players will see the printed text\non the screen instead of just the activator of the script.";
|
||||
Radius_Quake = "Radius_Quake(intensity, duration, damrad, tremrad, tid)";
|
||||
Radius_Quake2 = "Radius_Quake2(tid, intensity, duration, damrad, tremrad, sound)";
|
||||
Random = "Random(min, max)";
|
||||
RedCount = "RedCount()";
|
||||
RedReturn = "Script expression RedReturn";
|
||||
RedScore = "RedScore()";
|
||||
RedTeamCount = "RedTeamCount()";
|
||||
RedTeamScore = "RedTeamScore()";
|
||||
ReplaceTextures = "ReplaceTextures(oldtexture, newtexture, flags)";
|
||||
Radius_Quake2 = "void Radius_Quake2(int tid, int intensity, int duration, int damrad, int tremrad, str sound)";
|
||||
Random = "int Random(int min, int max)";
|
||||
//RedCount = "RedCount()";
|
||||
//RedReturn = "Script expression RedReturn";
|
||||
//RedScore = "RedScore()";
|
||||
//RedTeamCount = "RedTeamCount()";
|
||||
//RedTeamScore = "RedTeamScore()";
|
||||
ReplaceTextures = "void ReplaceTextures(str oldtexturename, str newtexturename [, int flags])\nReplaces all occurences of oldtexturename with newtexturename.\nNOT_ flags can be used.";
|
||||
Respawn = "Script expression Respawn";
|
||||
Restart = "Restart";
|
||||
Return = "Return";
|
||||
Script = "Script expression (Void)";
|
||||
ScriptWait = "ScriptWait(script)";
|
||||
Script = "Script expression";
|
||||
ScriptWait = "void ScriptWait(int script)";
|
||||
Scroll_Ceiling = "Scroll_Ceiling(tag, x-move, y-move, unused)";
|
||||
Scroll_Floor = "Scroll_Floor(tag, x-move, y-move, type)";
|
||||
Scroll_Texture_Both = "Scroll_Texture_Both(lineid, left, right, down, up)";
|
||||
|
@ -351,89 +354,90 @@ keywords
|
|||
Sector_SetRotation = "Sector_SetRotation(tag, floor-angle, ceiling-angle)";
|
||||
Sector_SetTranslucent = "Sector_SetTranslucent(tag, plane, amount, type)";
|
||||
Sector_SetWind = "Sector_SetWind(tag, amount, angle, useline)";
|
||||
SectorDamage = "SectorDamage(tag, amount, type, protectionitem, flags)";
|
||||
SectorSound = "SectorSound(sound, volume)";
|
||||
SectorDamage = "void SectorDamage(int tag, int amount, str type, str protection_item, int flags)\nDoes the damage only when the function is called,\nand damages everything in the tagged sector.\nUses DAMAGE_ flags.";
|
||||
SectorSound = "void SectorSound(str sound, int volume)";
|
||||
SendToCommunicator = "SendToCommunicator(voc_id, front_only, indentify, nolog)";
|
||||
SetActivator = "SetActivator(tid, pointer_selector)";
|
||||
SetActivatorToTarget = "SetActivatorToTarget(tid)";
|
||||
SetActorAngle = "SetActorAngle(tid, angle)";
|
||||
SetActorPitch = "SetActorPitch(tid, pitch)";
|
||||
SetActorPosition = "SetActorPosition(tid, x, y, z, fog)";
|
||||
SetActorProperty = "SetActorProperty(tid, property, value)";
|
||||
SetActorState = "SetActorState(tid, state, exact)";
|
||||
SetActorVelocity = "SetActorVelocity(tid, velx, vely, velz, add, setbob)";
|
||||
SetAirControl = "SetAirControl(amount)";
|
||||
SetAirSupply = "SetAirSupply(playernumber, tics)";
|
||||
SetAmmoCapacity = "SetAmmoCapacity(ammotype, maxamount)";
|
||||
SetCameraToTexture = "SetCameraToTexture(tag, texture, fov)";
|
||||
SetCeilingTrigger = "SetCeilingTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetCVar = "SetCVar(cvarname, newvalue)";
|
||||
SetCVarString = "SetCVarString(cvarname, newvalue)";
|
||||
SetActivator = "int SetActivator(int tid[, int pointer_selector])\nThis changes the activator of the script to the first actor found with the specified tid.\ntid: TID of the new activator.\npointer_selector: the pointer of the TID to set as the new activator (use AAPTR_ flags).";
|
||||
SetActivatorToTarget = "bool SetActivatorToTarget(int tid)\nThis changes the activator of the script to the current target\nof the first actor found with the specified tid.\nUsing a tid of 0 uses the current activator's target.";
|
||||
SetActorAngle = "void SetActorAngle(int tid, fixed angle)\nSets the actor's angle.\nangle: a fixed point angle in the range of 0.0 to 1.0 (N = 0.25, W = 0.5, S = 0.75, E = 1.0).";
|
||||
SetActorPitch = "void SetActorPitch(int tid, int pitch)\nSets the actor's Pitch.\npitch: a fixed point angle in the range of 0.0 to 1.0.";
|
||||
SetActorPosition = "bool SetActorPosition(int tid, fixed x, fixed y, fixed z, bool fog)\nThis function sets the x, y, and z coordinates of the specified actor, with or without teleport fog.\nReturns TRUE if the actor position was changed successfully.";
|
||||
SetActorProperty = "void SetActorProperty(int tid, int property, [int|float|str] value)\nproperty: one of the APROP_ properties.";
|
||||
SetActorState = "int SetActorState(int tid, str statename [, bool exact])\nForces the actor(s) with the matching tid into the specified state, as defined in Decorate.\nIf tid is 0, the activator is affected.\nThe exact parameter specifies whether or not partial state name matches are accepted.";
|
||||
SetActorVelocity = "bool SetActorVelocity(int tid, fixed velx, fixed vely, fixed velz, bool add, bool setbob)\nChanges actor velocity.\ntid: TID of things to affect. If 0, the activator is used.\nvelx, vely, velz: The desired velocity for the affected things.\nadd: If true, each affected actor's velocity is modified by the velx, vely\nand velz parameters, rather than replaced by them.\nsetbob: If true, the speed adjustment influences the bobbing of any concerned player actor.";
|
||||
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.";
|
||||
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.";
|
||||
SetFloorTrigger = "SetFloorTrigger(tag, height, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetFont = "SetFont(font)";
|
||||
SetFont = "void SetFont(str fontlump)\nSets the current font (only within the script) to fontlump";
|
||||
SetGlobalFogParameter = "SetGlobalFogParameter(property, value)";
|
||||
SetGravity = "SetGravity(amount)";
|
||||
SetHUDClipRect = "SetHUDClipRect(x, y, width, height, wrapwidth)";
|
||||
SetHudSize = "SetHudSize(width, height, statusbar)";
|
||||
SetHUDWrapWidth = "SetHUDWrapWidth(wrapwidth)";
|
||||
SetLineActivation = "void SetLineActivation(int lineid, int activation)\nlineid: The id of the line of which to set the activation flags\nactivation: SPAC flags to set. Multiple flags can be set by using the pipe character | between the constant names";
|
||||
SetLineBlocking = "SetLineBlocking(lineid, setting)";
|
||||
SetLineMonsterBlocking = "SetLineMonsterBlocking(lineid, setting)";
|
||||
SetLineSpecial = "SetLineSpecial(lineid, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetLineTexture = "SetLineTexture(lineid, side, position, texture)";
|
||||
SetMarineSprite = "SetMarineSprite(tid, actorclass)";
|
||||
SetMarineWeapon = "SetMarineWeapon(tid, weapon)";
|
||||
SetMugShotState = "SetMugShotState(state)";
|
||||
SetMusic = "SetMusic(song, order, unused)";
|
||||
SetGravity = "void SetGravity(fixed amount)\nThis function sets the global gravity of an entire level.\nDefault is 800.0";
|
||||
SetHUDClipRect = "void SetHUDClipRect(int x, int y, int width, int height [, int wrapwidth])\nSets the clipping rectangle for future HUD messages.";
|
||||
SetHudSize = "void SetHudSize(int width, int height, bool statusbar)\nCauses text messages to be stretched or shrunk to match the size\nthey would appear if the user's resolution was width by height.";
|
||||
SetHUDWrapWidth = "void SetHudWrapWidth(int wrapwidth)\nSets the wrapping width for future HUD messages without altering the clipping rectangle.\nIf you set the wrapping width to 0, messages will wrap\nto the full width of the HUD, as normal.";
|
||||
SetLineActivation = "void SetLineActivation(int lineid, int activation)\nSets the line activation flags of the line with the specified id.\nlineid: The id of the line of which to set the activation flags\nactivation: SPAC_ flags to set. Multiple flags can be set by using the pipe character | between the constant names.";
|
||||
SetLineBlocking = "void SetLineBlocking (int lineid, int setting)\nDEPRECATED!\nUse Line_SetBlocking instead!";
|
||||
SetLineMonsterBlocking = "void SetLineMonsterBlocking(int lineid, int setting)\nDEPRECATED!\nUse Line_SetBlocking instead!";
|
||||
SetLineSpecial = "void SetLineSpecial(int lineid, int special [, int arg0 [, int arg1 [, int arg2 [, int arg3 [, int arg4]]]]])\nSetLineSpecial will change the special on all lines with the line id number specified.";
|
||||
SetLineTexture = "void SetLineTexture(int lineid, int line_side, int sidedef_texture, str texturename)\nSetLineTexture will change the specified texture on all lines with the line id number specified\nline_side: SIDE_ flags can be used.\nsidedef_texture: TEXTURE_ flags can be used.\ntexturename: the texture that will be set on the line. Use '-' to remove a texture.";
|
||||
SetMarineSprite = "void SetMarineSprite(int tid, str actorclass)\nChanges a Scripted Marine's sprite to match the sprite\nused in the specified actor's spawn state.";
|
||||
SetMarineWeapon = "void SetMarineWeapon(int tid, int weapon)\nSets a Scripted Marine's weapon on the fly.\nweapon: one of MARINEWEAPON_ flags";
|
||||
SetMugShotState = "void SetMugShotState(str state)\nSets the state of the mug shot in SBARINFO status bars.\nThe state you set will only be interrupted by damage or if the player\npicks up a weapon, provided the mugshot supports it.";
|
||||
SetMusic = "void SetMusic(str song [, int order [, int unused]])";
|
||||
SetPlayerProperty = "SetPlayerProperty(who, set, which)";
|
||||
SetPointer = "SetPointer(assign_slot, tid, pointer_selector, flags)";
|
||||
SetResultValue = "SetResultValue(value)";
|
||||
SetSkyScrollSpeed = "SetSkyScrollSpeed(skynumber, speed)";
|
||||
SetThingSpecial = "SetThingSpecial(tid, special, arg1, arg2, arg3, arg4, arg5)";
|
||||
SetUserArray = "SetUserArray(tid, name, pos, value)";
|
||||
SetUserCVar = "SetUserCVar(playernum, cvarname, newvalue)";
|
||||
SetUserCVarString = "SetUserCVarString(playernum, cvarname, newvalue)";
|
||||
SetUserVariable = "SetUserVariable(tid, name, value)";
|
||||
SetWeapon = "SetWeapon(weapon)";
|
||||
sin = "sin(angle)";
|
||||
SinglePlayer = "SinglePlayer()";
|
||||
SoundSequence = "SoundSequence(sndseq)";
|
||||
SoundSequenceOnActor = "SoundSequenceOnActor(tid, sndseq)";
|
||||
SoundSequenceOnPolyObj = "SoundSequenceOnPolyObj(polyid, sndseq)";
|
||||
SoundSequenceOnSector = "SoundSequenceOnSector(tag, sndseq, location)";
|
||||
SoundVolume = "SoundVolume(tid, channel, volume)";
|
||||
Spawn = "Spawn(classname, x, y, z, newtid, angle)";
|
||||
SpawnForced = "SpawnForced(classname, x, y, z, newtid, angle)";
|
||||
SpawnProjectile = "SpawnProjectile(tid, classname, angle, speed, vspeed, gravity, newtid)";
|
||||
SpawnSpot = "SpawnSpot(classname, spottid, newtid, angle)";
|
||||
SpawnSpotFacing = "SpawnSpotFacing(classname, spottid, newtid)";
|
||||
SpawnSpotFacingForced = "SpawnSpotFacingForced(classname, spottid, newtid)";
|
||||
SpawnSpotForced = "SpawnSpotForced(classname, spottid, newtid, angle)";
|
||||
SetPointer = "bool SetPointer(int assign_slot, int tid[, int pointer_selector[, int flags]])\nSet the value of one of the caller's stored pointers.";
|
||||
SetResultValue = "void SetResultValue(int value)";
|
||||
SetSkyScrollSpeed = "void SetSkyScrollSpeed(int sky, fixed skyspeed)\nChanges the scrolling speed of a sky.\nThis is useful in conjunction with ChangeSky.\nsky: either 1 or 2.\nskyspeed: the desired scrolling speed.";
|
||||
SetThingSpecial = "void SetThingSpecial(int tid, int special [, int arg0 [, int arg1 [, int arg2 [, int arg3 [, int arg4]]]]])\nSets the special for any things with the same TID.\nThis is similar to Thing_SetSpecial, except it can only be used from ACS,\nand it can set all of a thing's special arguments.\nIf tid is 0, then the activator is used.";
|
||||
SetUserArray = "void SetUserArray(int tid, str name, int pos, int value)\nSets one of the affected actor's user array-bound variables.";
|
||||
SetUserCVar = "bool SetUserCVar(int playernumber, str cvar, int value)\nSets the console variable of a particular player.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, it is not writable, or the player doesn't exist.";
|
||||
SetUserCVarString = "bool SetUserCVarString(int playernumber, str cvar, str value)\nSets the console variable of a particular player.\nOnly mod-defined console variables through CVARINFO can be changed by using this function.\nReturns FALSE if cvar is invalid, it is not writable, or the player doesn't exist.";
|
||||
SetUserVariable = "void SetUserVariable(int tid, str name, int value)\nSets one of the affected actor's user variables.";
|
||||
SetWeapon = "bool SetWeapon(str weaponname)\nSets the player's current weapon to weaponname.\nReturns TRUE if the weapon was set successfully, and FALSE if not.";
|
||||
sin = "fixed Sin(int angle)";
|
||||
//SinglePlayer = "int SinglePlayer(void)";
|
||||
SoundSequence = "void SoundSequence(str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnActor = "void SoundSequenceOnActor(int tid, str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnPolyObj = "void SoundSequenceOnPolyobj(int polynum, str sndseq)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundSequenceOnSector = "void SoundSequenceOnSector(int tag, str sndseq, int location)\nPlays a sound sequence defined in SNDSEQ lump.";
|
||||
SoundVolume = "void SoundVolume(int tid, int channel, fixed volume)\nChanges the volume of the currently playing sound by the actor(s) with the specified tid.\nIf tid is 0, the sound volume change is done to the sound being played by the activator of the script.";
|
||||
Spawn = "int Spawn(str classname, fixed x, fixed y, fixed z [, int tid [, int angle]])\nSpawns an actor at the given X, Y and Z coordinates.\nOptionally a TID and a byte angle can be specified.";
|
||||
SpawnForced = "int SpawnForced(str classname, fixed x, fixed y, fixed z [, int tid [, int angle]])\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe return value is the number of things spawned.";
|
||||
SpawnDecal = "int SpawnDecal(int tid, str decalname, int flags [, fixed angle = 0.0 [, fixed zoffset = 0.0 [, fixed distance = 64.0]]])\nCreates a decal on a wall by tracing a line from the actor with the\nspecified tid until hitting said wall, on which the decal is then created.\nIf tid is 0, the tracing is done from the activator of the script.\ndecalname: The name of the decal to create, as defined in DECALDEF.\nflags: use SDF_ flags\nThe return value of the function is the number of decals spawned.";
|
||||
SpawnProjectile = "void SpawnProjectile(int tid, string type, int angle, int speed, int vspeed, int gravity, int newtid)";
|
||||
SpawnSpot = "int SpawnSpot(str classname, int spottid [, int tid [, int angle]])\nRequires a MapSpot at the location where you want the Actor to spawn.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotFacing = "int SpawnSpotFacing(str classname, int spottid [, int tid])\nRequires a MapSpot at the location where you want the Actor to spawn.\nThe thing will assume the angle of the mapspot it is spawned to.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotFacingForced = "int SpawnSpotFacingForced(str classname, int spottid [, int tid])\nRequires a MapSpot at the location where you want the Actor to spawn.\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe thing will assume the angle of the mapspot it is spawned to.\nThe return value is the number of things spawned.";
|
||||
SpawnSpotForced = "int SpawnSpotForced(str classname, int spottid [, int tid [, int angle]])\nRequires a MapSpot at the location where you want the Actor to spawn.\nForces the actor to spawn, even in conditions where the spawning would normally fail.\nThe return value is the number of things spawned.";
|
||||
Special = "Special";
|
||||
Sqrt = "Sqrt(number)";
|
||||
Sqrt = "int Sqrt(int number)";
|
||||
Stairs_BuildDown = "Stairs_BuildDown(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildDownSync = "Stairs_BuildDownSync(tag, speed, height, reset)";
|
||||
Stairs_BuildUp = "Stairs_BuildUp(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildUpDoom = "Stairs_BuildUpDoom(tag, speed, height, delay, reset)";
|
||||
Stairs_BuildUpSync = "Stairs_BuildUpSync(tag, speed, height, reset)";
|
||||
StartConversation = "StartConversation(talker_tid, facetalker)";
|
||||
StopSound = "StopSound(tid, channel)";
|
||||
Str = "Str expression";
|
||||
StrCmp = "StrCmp(string1, string2, maxcomparenum)";
|
||||
StrCpy = "StrCpy(a:destination, source, sourceindex)";
|
||||
StrIcmp = "StrIcmp(string1, string2, maxcomparenum)";
|
||||
StrLeft = "string StrLeft(string string, int length)\nCreates a new string containing the length first characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StrLen = "StrLen(string)";
|
||||
StrMid = "string StrMid(string string, int start, int length)\nCreates a new string containing the length characters of string starting from the one at position start.\nIf string does not exist or is shorter than start characters, an empty string is returned. \nIf string is shorter than start + length characters, the entire substring beginning at start is returned.";
|
||||
StrParam = "StrParam(type:expression)";
|
||||
StrRight = "string StrRight(string string, int length)\nCreates a new string containing the length last characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StopSound = "void StopSound(int tid, int channel)\nStops the sound currently playing on the specified channel for the actor with matching tid";
|
||||
str = "Str expression";
|
||||
StrCmp = "int StrCmp(str string1, str string2 [, int maxcomparenum])\nCompares the two strings passed in arguments string1 and string2 character by character.\nIf maxcomparenum is specified, it only compares up to maxcomparenum characters of each string.";
|
||||
StrCpy = "bool StrCpy(a:destination, string source [, int source_index])\nCopy a source string to a destination array as a series of characters.\nOptionally, the copy can start from a given index in the source string.\nReturns TRUE if the entire string (or substring) was successfully copied to the array;\nFALSE if the copy ran out of room or if a negative source_index was given.";
|
||||
StrIcmp = "int StrCmp(str string1, str string2 [, int maxcomparenum])\nStrIcmp is case-insensitive version of StrCmp";
|
||||
StrLeft = "str StrLeft(str string, int length)\nCreates a new string containing the length first characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
StrLen = "int StrLen(str string)";
|
||||
StrMid = "str StrMid(str string, int start, int length)\nCreates a new string containing the length characters of string starting from the one at position start.\nIf string does not exist or is shorter than start characters, an empty string is returned. \nIf string is shorter than start + length characters, the entire substring beginning at start is returned.";
|
||||
StrParam = "int StrParam(type:expression)\nStrParam will create a new string formatted based upon the same method for Print or Log.\nThe return value is the string table index of the new string.";
|
||||
StrRight = "str StrRight(str string, int length)\nCreates a new string containing the length last characters of string.\nIf string does not exist, an empty string is returned.\nIf string is shorter than length characters, the entire string is returned.";
|
||||
Suspend = "Suspend";
|
||||
Switch = "Switch(expression)";
|
||||
TagWait = "TagWait(tag)";
|
||||
TakeActorInventory = "TakeActorInventory(tid, inventoryitem, amount)";
|
||||
TakeInventory = "TakeInventory(inventoryitem, amount)";
|
||||
Team_GivePoints = "Team_GivePoints(team, points, announce)";
|
||||
Team_Score = "Team_Score(points, nogrin)";
|
||||
TagWait = "void TagWait(int tag)";
|
||||
TakeActorInventory = "void TakeActorInventory(int tid, str inventory_item, int amount)\nThis function will take the amount of items from the specified actor.\nTakeActorInventory can remove items that are flagged as undroppable.";
|
||||
TakeInventory = "void TakeInventory(str inventory_item, int amount)\nThis function will take the number of items specified from the activator.\nTakeInventory can remove items that are flagged as undroppable.";
|
||||
//Team_GivePoints = "Team_GivePoints(team, points, announce)";
|
||||
//Team_Score = "Team_Score(points, nogrin)";
|
||||
Teleport = "Teleport(tid, tag, nosourcefog)";
|
||||
Teleport_EndGame = "Teleport_EndGame()";
|
||||
Teleport_NewMap = "Teleport_NewMap(map, pos, face)";
|
||||
|
@ -447,13 +451,13 @@ keywords
|
|||
Thing_Activate = "Thing_Activate(tid)";
|
||||
Thing_ChangeTID = "Thing_ChangeTID(oldtid, newtid)";
|
||||
Thing_Damage = "Thing_Damage(tid, amount, mod)";
|
||||
Thing_Damage2 = "Thing_Damage2(tid, amount, damagetype)";
|
||||
Thing_Damage2 = "int Thing_Damage2 (int tid, int amount, str type)\nDamages the specified actor.\nDamage type is specified by name.";
|
||||
Thing_Deactivate = "Thing_Deactivate(tid)";
|
||||
Thing_Destroy = "Thing_Destroy(tid, extreme, tag)";
|
||||
Thing_Hate = "Thing_Hate(hater, hatee, type)";
|
||||
Thing_Move = "Thing_Move(tid, destid, nofog)";
|
||||
Thing_Projectile = "Thing_Projectile(tid, type, angle, speed, vspeed)";
|
||||
Thing_Projectile2 = "Thing_Projectile2(tid, classname, angle, speed, vspeed, gravity, newtid)";
|
||||
Thing_Projectile2 = "void Thing_Projectile2(int tid, int type, int angle, int speed, int vspeed, int gravity, int newtid)";
|
||||
Thing_ProjectileAimed = "Thing_ProjectileAimed(tid, type, speed, target, newtid)";
|
||||
Thing_ProjectileGravity = "Thing_ProjectileGravity(tid, type, angle, speed, vspeed)";
|
||||
Thing_ProjectileIntercept = "Thing_ProjectileIntercept(tid, type, speed, target, newtid)";
|
||||
|
@ -467,24 +471,24 @@ keywords
|
|||
Thing_SpawnFacing = "Thing_SpawnFacing(tid, type, nofog, newtid)";
|
||||
Thing_SpawnNoFog = "Thing_SpawnNoFog(tid, type, angle, newtid)";
|
||||
Thing_Stop = "Thing_Stop(tid)";
|
||||
ThingCount = "ThingCount(type, tid)";
|
||||
ThingCountName = "ThingCountName(classname, tid)";
|
||||
ThingCountNameSector = "ThingCountNameSector(classname, tid, tag)";
|
||||
ThingCountSector = "ThingCountSector(type, tid, tag)";
|
||||
ThingSound = "ThingSound(tid, sound, volume)";
|
||||
ThingCount = "int ThingCount(int type, int tid)";
|
||||
ThingCountName = "int ThingCountName(str classname, int tid)";
|
||||
ThingCountNameSector = "int ThingCountNameSector(str classname, int tid, int tag)";
|
||||
ThingCountSector = "int ThingCountSector(int type, int tid, int tag)";
|
||||
ThingSound = "void ThingSound(int tid, str sound, int volume)\nPlays a sound at a thing.\nThis is a point sound, so anyone far away will not hear it as loudly";
|
||||
ThrustThing = "ThrustThing(angle, force, nolimit, tid)";
|
||||
ThrustThingZ = "ThrustThingZ(tid, speed, up_or_down, add_or_set)";
|
||||
Timer = "Timer()";
|
||||
Timer = "int Timer(void)";
|
||||
TranslucentLine = "TranslucentLine(lineid, amount, additive, moreflags)";
|
||||
UniqueTID = "UniqueTID(tid, limit)";
|
||||
UniqueTID = "int UniqueTID([int tid [, int limit]])";
|
||||
Unloading = "Script expression Unloading";
|
||||
UnMorphActor = "UnMorphActor(tid, force)";
|
||||
UnMorphActor = "int UnMorphActor (int tid[, bool force])";
|
||||
Until = "Until(expression)";
|
||||
UseActorInventory = "UseActorInventory(tid, inventoryitem)";
|
||||
UseInventory = "UseInventory(inventoryitem)";
|
||||
UseActorInventory = "int UseActorInventory (int tid, str classname)\nForces the actor(s) with the specified tid to use an item from their inventory, if they have one.\nReturns TRUE if the item was used successfully.";
|
||||
UseInventory = "int UseInventory (str classname)\nForces the activator to use the specified inventory item, if he has it.\nReturns TRUE if the item was used successfully.";
|
||||
UsePuzzleItem = "UsePuzzleItem(item, script, arg1, arg2, arg3)";
|
||||
VectorAngle = "VectorAngle(x, y)";
|
||||
VectorLength = "VectorLength(x, y)";
|
||||
VectorAngle = "fixed VectorAngle(int x, int y)";
|
||||
VectorLength = "int VectorLength(int x, int y)";
|
||||
Void = "Void";
|
||||
While = "While(expression)";
|
||||
WhiteReturn = "Script expression WhiteReturn";
|
||||
|
@ -757,7 +761,7 @@ constants
|
|||
MRF_WHENINVULNERABLE;
|
||||
NO;
|
||||
NO_CHANGE;
|
||||
NO_TEAM;
|
||||
//NO_TEAM;
|
||||
NOT_BOTTOM;
|
||||
NOT_CEILING;
|
||||
NOT_FLOOR;
|
||||
|
@ -798,6 +802,8 @@ constants
|
|||
PTROP_UNSAFETARGET;
|
||||
SCROLL;
|
||||
SCROLL_AND_CARRY;
|
||||
SDF_ABSANGLE;
|
||||
SDF_PERMANENT;
|
||||
SECF_FLOORDROP;
|
||||
SECF_NOFALLINGDAMAGE;
|
||||
SECF_NORESPAWN;
|
||||
|
@ -1151,8 +1157,8 @@ constants
|
|||
T_YELLOWKEYCARD;
|
||||
T_YELLOWSKULLKEY;
|
||||
T_ZOMBIE;
|
||||
TEAM_BLUE;
|
||||
TEAM_RED;
|
||||
//TEAM_BLUE;
|
||||
//TEAM_RED;
|
||||
TEXFLAG_ADDOFFSET;
|
||||
TEXFLAG_BOTTOM;
|
||||
TEXFLAG_MIDDLE;
|
||||
|
|
|
@ -220,6 +220,8 @@ namespace CodeImp.DoomBuilder.Controls
|
|||
// Selection changed
|
||||
private void list_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
|
||||
{
|
||||
if(!e.IsSelected) return; //mxd. Don't want to trigger this twice
|
||||
|
||||
// Prevent selecting?
|
||||
if(preventselection)
|
||||
{
|
||||
|
|
|
@ -421,7 +421,7 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
// Map name selected
|
||||
private void mapslist_ItemSelectionChanged(object sender, ListViewItemSelectionChangedEventArgs e)
|
||||
{
|
||||
if(!e.IsSelected) return; //mxd. Don't want to trigger this for every item in mapslist
|
||||
if(!e.IsSelected) return; //mxd. Don't want to trigger this twice
|
||||
|
||||
DataLocationList locations;
|
||||
DataLocationList listedlocations;
|
||||
|
|
Loading…
Reference in a new issue