mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2025-07-21 20:56:15 +03:00
Added logic_substring
This commit is contained in:
parent
13e186d021
commit
a1d632df05
19
base.fgd
19
base.fgd
@ -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."
|
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"
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------
|
//-------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user