New pages

From Eternity Wiki
Jump to navigationJump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 15:26, 4 May 2026SetLineBlocking (hist | edit) ‎[1,027 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Changes one or more lines' blocking properties by one of the given presets. |usage=''void'' '''SetLineBlocking'''(''int'' ''tag'', ''int'' ''block'') |parameters= *''tag'': tag of linedefs to affect. If 0, change the activating line. *''block'': one of the following options: :*'''BLOCK_NOTHING''' or 0: remove all involved blocking flags (see below); :*'''BLOCK_CREATURES''' or 1: sets the classic '''blocking''' ("impassable") flag, which blocks a...")
  • 01:56, 4 May 2026ReplaceTextures (hist | edit) ‎[863 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Replaces all occurrences of a texture with another. |usage=''void'' '''ReplaceTextures'''(''str'' ''oldTexture'', ''str'' ''newTexture''[, ''int'' ''flags'']) |parameters= *''oldTexture'': name of texture to replace *''newTexture'': name of replacement texture *''flags'': optional sum of flags to filter the replacement (default of 0 is to replace any texture named ''oldTexture''): :*'''NOT_BOTTOM''' (1): do not replace any side lower texture :*'...")
  • 15:20, 3 May 2026Random (hist | edit) ‎[315 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns a random number from a range. |usage=''int'' '''Random'''(''int'' ''min'', ''int'' ''max'') |parameters= *''min'': minimum value *''max'': maximum value |return=the random number in the range |notes=This is from the inclusive range between minimum and maximum. |id=(ACS internal)}}")
  • 15:02, 3 May 2026PlayerNumber (hist | edit) ‎[365 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the index of the player activator. |usage=''int'' '''PlayerNumber'''() |return=The 0-based index of the player activator, or -1 if the activator is not a player. |notes=Be careful that the index is zero based, so player 1 gets number 0, player 2 gets 1 etc. If activator isn't a player, the return value is -1. |id=(ACS internal)}}")
  • 14:58, 3 May 2026PlayerCount (hist | edit) ‎[155 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the number of players in the game. |usage=''int'' '''PlayerCount'''() |return=The number of players. |id=(ACS internal)}}")
  • 14:46, 3 May 2026VectorLength (hist | edit) ‎[423 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the length (absolute value) of a two-dimensional vector. |usage=''fixed'' '''VectorLength'''(''fixed'' ''x'', ''fixed'' ''y'') |parameters= *''x'', ''y'': vector components (typically distances along the X and Y axes) |return= The length of the vector. |notes=This returns the exact length of the line, without using coarse approximations like it happens elsewhere in the engine. |id=-50}}")
  • 14:42, 3 May 2026GetWeapon (hist | edit) ‎[332 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the name of the weapon wielded by the player activator. |usage=''str'' '''GetWeapon'''() |return=Returns the name (as defined in EDF) of the weapon used by player. |notes=This function has no TID support, so it can only be used by a player activator. |id=-69}}")
  • 14:35, 3 May 2026GetActorX (hist | edit) ‎[383 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the given x, y or z coordinate of the tagged actor. |usage= ''fixed'' '''GetActorX'''(''int'' ''tid'') ''fixed'' '''GetActorY'''(''int'' ''tid'') ''fixed'' '''GetActorZ'''(''int'' ''tid'') |parameters= *''tid'': TID of tagged actor |notes=This returns the absolute coordinates, without taking into account portal shifting. |id=(ACS internal)}}")
  • 14:28, 3 May 2026GetActorPitch (hist | edit) ‎[455 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns a tagged actor's view pitch. |usage=''fixed'' '''GetActorPitch'''(''int'' ''tid'') |parameters= *''tid'': TID of actor to check. |return=''angle'': fixed point angle of view pitch. |notes=Currently this only works with players, so the only useful TID values are 0 for the activator, or -1 to -4 to select a given player. The pitch is determined by the looking angle when free-look is enabled. |id=(ACS internal)}}")
  • 14:22, 3 May 2026GetActorLightLevel (hist | edit) ‎[462 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Returns the light level of the sector containing the tagged actor. |usage=''int'' '''GetActorLightLevel'''(''int'' ''tid'') |parameters= *''tid'': TID of actor to check. |return=The light level of the sector containing the tagged actor. If no actor has the given TID, returns 0. |notes=This returns the light level on the sector, without taking into account the possible Boom different floor and ceiling lights. |id=(ACS internal)}}")
  • 01:51, 23 April 2026CheckSight (hist | edit) ‎[588 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Checks if there is a line of sight between two actors. |usage=''boolean'' '''CheckSight'''(''int'' ''tid1'', ''int'' ''tid2'', ''flags'') |parameters= *''tid1'': TID of first actor *''tid2'': TID of second actor *''flags'': reserved, must be 0}}")
  • 15:08, 4 April 2026Scroll Floor (hist | edit) ‎[1,394 bytes]Printz (talk | contribs) (Created page with "{{LineSpecial|description=This is the parameterized scrolling special for the floor. |usage='''Scroll_Floor'''(''tag'', ''flags'', ''type'', ''x'', ''y'') |parameters= *''tag'': tag of sectors whose floors to scroll; *''flags'': zero or a sum of the following values: :*1: set displacement scrolling :*2: set accelerative scrolling. This overrides displacement scrolling if both flags are set. :*4: use linedef vector to direct the scrolling (scrolling will happen wh...")
  • 07:25, 4 April 2026SetWeapon (hist | edit) ‎[998 bytes]Printz (talk | contribs) (Created page with "{{ACSFunction|description=Changes activator's current weapon. |usage=''boolean'' '''SetWeapon'''(''str weapon'') |parameters= *''weapon'': name of weapon to switch to. This name is one defined by an EDF weaponinfo block, which for the base games is stored in '''player.edf'''. |return='''TRUE''' if the weapon was successfully selected or was already active, '''FALSE''' otherwise. |examples= <code>int result = SetWeapon("Crossbow"); // will return TRUE if player...")
  • 14:16, 28 February 2026Polyobj MoveTo (hist | edit) ‎[581 bytes]Printz (talk | contribs) (Created page with "{{template:LineSpecial|description=Moves a polyobject to given coordinates. |usage='''Polyobj_MoveTo(''po'', ''speed'', ''x'', ''y'') |parameters= *''po'': polyobject ID to move *''speed'': movement speed in eighths of unit per tic *''x'', ''y'': coordinates, in integer map units |examples= '''Polyobj_MoveTo(1, 8, -1024, 4192) |notes=This linedef special moves the targeted polyobject to a given location in coordinates, instead of using a map spot thing. Be careful, if in...")