Added logic_substring

This commit is contained in:
Blixibon 2022-07-30 13:00:40 -05:00
parent 13e186d021
commit a1d632df05

View File

@ -6568,6 +6568,25 @@
output OnFire(ehandle) : "Fires each time a projectile is fired, passing the projectile as the activator. The owner entity is the caller if it exists."
]
@PointClass base(Targetname) iconsprite("editor/logic_substring.vmt") = logic_substring : "Returns substring of a string parameter"
[
spawnflags(Flags) =
[
1 : "[1] Start Disabled" : 0
]
startPos(integer) : "Substring start position" : 0 : "Position of the first character to be copied as a substring"
length(integer) : "Substring length" : -1 : "Number of characters to include in the substring (-1 = until end of string)"
input Disable(void) : "Disable entity functions."
input Enable(void) : "Enable entity functions."
input InValue(string) : "Input a string to substring and return through OutValue"
input SetLength(integer) : "Set length of substring"
input SetStartPos(integer) : "Set start position of substring"
output OutValue(string) : "Output substring from InValue"
]
//-------------------------------------------------------------------------
//