Skip to content

Commit

Permalink
garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
AutumnThyme committed Feb 6, 2025
1 parent 2fbdd53 commit 90f7240
Show file tree
Hide file tree
Showing 35 changed files with 516 additions and 521 deletions.
28 changes: 14 additions & 14 deletions Assets/Docs/objects/Character.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ Inherits from object
|CurrentAnimation|[String](../static/String.md)|False|Character's current playing animation.|
|Grounded|bool|False|Character's grounded status.|
## Methods
|Function|Returns|Description|
|---|---|---|
|GetKilled(<i>killer</i> : [String](../static/String.md))|none|Kills the character. Callable by non-owners.|
|GetDamaged(<br/><i>killer</i> : [String](../static/String.md),<br/><i>damage</i> : int<br/>)|none|Damages the character and kills it if its health reaches 0. Callable by non-owners.|
|Emote(<i>emote</i> : [String](../static/String.md))|none|Causes the character to emote. The list of available emotes is the same as those shown in the in-game emote menu.|
|PlayAnimation(<br/><i>animation</i> : [String](../static/String.md),<br/><i>fade</i> : float = 0.1<br/>)|none|Causes the character to play an animation. If the fade parameter is provided, will crossfade the animation by this timestep. Available animations can be found here: Human, Titan, Annie, Eren. Use the right-hand string value for the animation.|
|GetAnimationLength(<i>animation</i> : [String](../static/String.md))|float|Gets the length of animation.|
|PlaySound(<i>sound</i> : [String](../static/String.md))|none|Plays a sound if present in the character. Available sound names can be found here: Humans, Shifters, Titans. Note that shifters also have all titan sounds.|
|StopSound(<i>sound</i> : [String](../static/String.md))|none|Stops the sound.|
|LookAt(<i>position</i> : [Vector3](../objects/Vector3.md))|none|Rotates the character such that it is looking towards a world position.|
|AddForce(<br/><i>force</i> : [Vector3](../objects/Vector3.md),<br/><i>mode</i> : [String](../static/String.md) = Acceleration<br/>)|none|Adds a force to the character with given force vector and optional mode. Valid modes are Force, Acceleration, Impulse, VelocityChange with default being Acceleration.|
|Reveal(<i>delay</i> : float)|none|Reveaal the titan for a set number of seconds.|
|AddOutline(<br/><i>color</i> : [Color](../objects/Color.md) = ,<br/><i>mode</i> : [String](../static/String.md) = OutlineAll<br/>)|none|Adds an outline effect with the given color and mode. Valid modes are: OutlineAll, OutlineVisible, OutlineHidden, OutlineAndSilhouette, SilhouetteOnly, OutlineAndLightenColor|
|RemoveOutline()|none|Removes the outline effect from the character.|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|GetKilled|killer : [String](../static/String.md)|none|Kills the character. Callable by non-owners.|
|GetDamaged|killer : [String](../static/String.md)<br/>damage : int|none|Damages the character and kills it if its health reaches 0. Callable by non-owners.|
|Emote|emote : [String](../static/String.md)|none|Causes the character to emote. The list of available emotes is the same as those shown in the in-game emote menu.|
|PlayAnimation|animation : [String](../static/String.md)<br/>fade : float = 0.1|none|Causes the character to play an animation. If the fade parameter is provided, will crossfade the animation by this timestep. Available animations can be found here: Human, Titan, Annie, Eren. Use the right-hand string value for the animation.|
|GetAnimationLength|animation : [String](../static/String.md)|float|Gets the length of animation.|
|PlaySound|sound : [String](../static/String.md)|none|Plays a sound if present in the character. Available sound names can be found here: Humans, Shifters, Titans. Note that shifters also have all titan sounds.|
|StopSound|sound : [String](../static/String.md)|none|Stops the sound.|
|LookAt|position : [Vector3](../objects/Vector3.md)|none|Rotates the character such that it is looking towards a world position.|
|AddForce|force : [Vector3](../objects/Vector3.md)<br/>mode : [String](../static/String.md) = Acceleration|none|Adds a force to the character with given force vector and optional mode. Valid modes are Force, Acceleration, Impulse, VelocityChange with default being Acceleration.|
|Reveal|delay : float|none|Reveaal the titan for a set number of seconds.|
|AddOutline|color : [Color](../objects/Color.md) = <br/>mode : [String](../static/String.md) = OutlineAll|none|Adds an outline effect with the given color and mode. Valid modes are: OutlineAll, OutlineVisible, OutlineHidden, OutlineAndSilhouette, SilhouetteOnly, OutlineAndLightenColor|
|RemoveOutline||none|Removes the outline effect from the character.|
10 changes: 5 additions & 5 deletions Assets/Docs/objects/Collider.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Inherits from object
|Transform|[Transform](../objects/Transform.md)|False||
|GameObjectTransform|[Transform](../objects/Transform.md)|False||
## Methods
|Function|Returns|Description|
|---|---|---|
|ClosestPoint(<i>position</i> : [Vector3](../objects/Vector3.md))|[Vector3](../objects/Vector3.md)||
|ClosestPointOnBounds(<i>position</i> : [Vector3](../objects/Vector3.md))|[Vector3](../objects/Vector3.md)||
|Raycast(<br/><i>start</i> : [Vector3](../objects/Vector3.md),<br/><i>end</i> : [Vector3](../objects/Vector3.md),<br/><i>maxDistance</i> : float,<br/><i>collideWith</i> : [String](../static/String.md)<br/>)|[LineCastHitResult](../objects/LineCastHitResult.md)||
|Function|Parameters|Returns|Description|
|---|---|---|---|
|ClosestPoint|position : [Vector3](../objects/Vector3.md)|[Vector3](../objects/Vector3.md)||
|ClosestPointOnBounds|position : [Vector3](../objects/Vector3.md)|[Vector3](../objects/Vector3.md)||
|Raycast|start : [Vector3](../objects/Vector3.md)<br/>end : [Vector3](../objects/Vector3.md)<br/>maxDistance : float<br/>collideWith : [String](../static/String.md)|[LineCastHitResult](../objects/LineCastHitResult.md)||
8 changes: 4 additions & 4 deletions Assets/Docs/objects/Collision.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Inherits from object
|Impulse|[Vector3](../objects/Vector3.md)|False||
|RelativeVelocity|[Vector3](../objects/Vector3.md)|False||
## Methods
|Function|Returns|Description|
|---|---|---|
|GetContact(<i>index</i> : int)|none||
|GetContacts()|none||
|Function|Parameters|Returns|Description|
|---|---|---|---|
|GetContact|index : int|none||
|GetContacts||none||
14 changes: 7 additions & 7 deletions Assets/Docs/objects/Color.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Inherits from object
|B|int|False|Blue component of the color|
|A|int|False|Alpha component of the color|
## Methods
|Function|Returns|Description|
|---|---|---|
|ToHexString()|[String](../static/String.md)|Converts the color to a hex string|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|ToHexString||[String](../static/String.md)|Converts the color to a hex string|
## Static Methods
|Function|Returns|Description|
|---|---|---|
|Lerp(<br/><i>a</i> : [Color](../objects/Color.md),<br/><i>b</i> : [Color](../objects/Color.md),<br/><i>t</i> : float<br/>)|[Color](../objects/Color.md)|Linearly interpolates between colors a and b by t|
|Gradient(<br/><i>a</i> : [Color](../objects/Color.md),<br/><i>b</i> : [Color](../objects/Color.md),<br/><i>t</i> : float<br/>)|[Color](../objects/Color.md)|Creates a gradient color from two colors|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|Lerp|a : [Color](../objects/Color.md)<br/>b : [Color](../objects/Color.md)<br/>t : float|[Color](../objects/Color.md)|Linearly interpolates between colors a and b by t|
|Gradient|a : [Color](../objects/Color.md)<br/>b : [Color](../objects/Color.md)<br/>t : float|[Color](../objects/Color.md)|Creates a gradient color from two colors|
14 changes: 7 additions & 7 deletions Assets/Docs/objects/Dict.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ example = Dict()
|Keys|[List](../objects/List.md)|False|Keys in the dictionary|
|Values|[List](../objects/List.md)|False|Values in the dictionary|
## Methods
|Function|Returns|Description|
|---|---|---|
|Clear()|none|Clears the dictionary|
|Get(<br/><i>key</i> : Object,<br/><i>defaultValue</i> : Object = <br/>)|Object|Gets a value from the dictionary|
|Set(<br/><i>key</i> : Object,<br/><i>value</i> : Object<br/>)|none|Sets a value in the dictionary|
|Remove(<i>key</i> : Object)|none|Removes a value from the dictionary|
|Contains(<i>key</i> : Object)|bool|Checks if the dictionary contains a key|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|Clear||none|Clears the dictionary|
|Get|key : Object<br/>defaultValue : Object = |Object|Gets a value from the dictionary|
|Set|key : Object<br/>value : Object|none|Sets a value in the dictionary|
|Remove|key : Object|none|Removes a value from the dictionary|
|Contains|key : Object|bool|Checks if the dictionary contains a key|
52 changes: 26 additions & 26 deletions Assets/Docs/objects/Human.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,29 @@ Inherits from [Character](../objects/Character.md)
|CurrentAnimation|[String](../static/String.md)|False|Character's current playing animation.|
|Grounded|bool|False|Character's grounded status.|
## Methods
|Function|Returns|Description|
|---|---|---|
|Refill()|bool|Refills the gas of the human|
|RefillImmediate()|none|Refills the gas of the human immediately|
|ClearHooks()|none|Clears all hooks|
|ClearLeftHook()|none|Clears the left hook|
|ClearRightHook()|none|Clears the right hook|
|MountMapObject(<br/><i>mapObject</i> : [MapObject](../objects/MapObject.md),<br/><i>positionOffset</i> : [Vector3](../objects/Vector3.md),<br/><i>rotationOffset</i> : [Vector3](../objects/Vector3.md)<br/>)|none|Mounts the human on a map object|
|MountTransform(<br/><i>transform</i> : [Transform](../objects/Transform.md),<br/><i>positionOffset</i> : [Vector3](../objects/Vector3.md),<br/><i>rotationOffset</i> : [Vector3](../objects/Vector3.md)<br/>)|none|Mounts the human on a transform|
|Unmount()|none|Unmounts the human|
|SetSpecial(<i>special</i> : [String](../static/String.md))|none|Sets the special of the human|
|ActivateSpecial()|none|Activates the special of the human|
|SetWeapon(<i>weapon</i> : [String](../static/String.md))|none|Sets the weapon of the human|
|DisablePerks()|none|Disables all perks of the human|
|GetKilled(<i>killer</i> : [String](../static/String.md))|none|Kills the character. Callable by non-owners.|
|GetDamaged(<br/><i>killer</i> : [String](../static/String.md),<br/><i>damage</i> : int<br/>)|none|Damages the character and kills it if its health reaches 0. Callable by non-owners.|
|Emote(<i>emote</i> : [String](../static/String.md))|none|Causes the character to emote. The list of available emotes is the same as those shown in the in-game emote menu.|
|PlayAnimation(<br/><i>animation</i> : [String](../static/String.md),<br/><i>fade</i> : float = 0.1<br/>)|none|Causes the character to play an animation. If the fade parameter is provided, will crossfade the animation by this timestep. Available animations can be found here: Human, Titan, Annie, Eren. Use the right-hand string value for the animation.|
|GetAnimationLength(<i>animation</i> : [String](../static/String.md))|float|Gets the length of animation.|
|PlaySound(<i>sound</i> : [String](../static/String.md))|none|Plays a sound if present in the character. Available sound names can be found here: Humans, Shifters, Titans. Note that shifters also have all titan sounds.|
|StopSound(<i>sound</i> : [String](../static/String.md))|none|Stops the sound.|
|LookAt(<i>position</i> : [Vector3](../objects/Vector3.md))|none|Rotates the character such that it is looking towards a world position.|
|AddForce(<br/><i>force</i> : [Vector3](../objects/Vector3.md),<br/><i>mode</i> : [String](../static/String.md) = Acceleration<br/>)|none|Adds a force to the character with given force vector and optional mode. Valid modes are Force, Acceleration, Impulse, VelocityChange with default being Acceleration.|
|Reveal(<i>delay</i> : float)|none|Reveaal the titan for a set number of seconds.|
|AddOutline(<br/><i>color</i> : [Color](../objects/Color.md) = ,<br/><i>mode</i> : [String](../static/String.md) = OutlineAll<br/>)|none|Adds an outline effect with the given color and mode. Valid modes are: OutlineAll, OutlineVisible, OutlineHidden, OutlineAndSilhouette, SilhouetteOnly, OutlineAndLightenColor|
|RemoveOutline()|none|Removes the outline effect from the character.|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|Refill||bool|Refills the gas of the human|
|RefillImmediate||none|Refills the gas of the human immediately|
|ClearHooks||none|Clears all hooks|
|ClearLeftHook||none|Clears the left hook|
|ClearRightHook||none|Clears the right hook|
|MountMapObject|mapObject : [MapObject](../objects/MapObject.md)<br/>positionOffset : [Vector3](../objects/Vector3.md)<br/>rotationOffset : [Vector3](../objects/Vector3.md)|none|Mounts the human on a map object|
|MountTransform|transform : [Transform](../objects/Transform.md)<br/>positionOffset : [Vector3](../objects/Vector3.md)<br/>rotationOffset : [Vector3](../objects/Vector3.md)|none|Mounts the human on a transform|
|Unmount||none|Unmounts the human|
|SetSpecial|special : [String](../static/String.md)|none|Sets the special of the human|
|ActivateSpecial||none|Activates the special of the human|
|SetWeapon|weapon : [String](../static/String.md)|none|Sets the weapon of the human|
|DisablePerks||none|Disables all perks of the human|
|GetKilled|killer : [String](../static/String.md)|none|Kills the character. Callable by non-owners.|
|GetDamaged|killer : [String](../static/String.md)<br/>damage : int|none|Damages the character and kills it if its health reaches 0. Callable by non-owners.|
|Emote|emote : [String](../static/String.md)|none|Causes the character to emote. The list of available emotes is the same as those shown in the in-game emote menu.|
|PlayAnimation|animation : [String](../static/String.md)<br/>fade : float = 0.1|none|Causes the character to play an animation. If the fade parameter is provided, will crossfade the animation by this timestep. Available animations can be found here: Human, Titan, Annie, Eren. Use the right-hand string value for the animation.|
|GetAnimationLength|animation : [String](../static/String.md)|float|Gets the length of animation.|
|PlaySound|sound : [String](../static/String.md)|none|Plays a sound if present in the character. Available sound names can be found here: Humans, Shifters, Titans. Note that shifters also have all titan sounds.|
|StopSound|sound : [String](../static/String.md)|none|Stops the sound.|
|LookAt|position : [Vector3](../objects/Vector3.md)|none|Rotates the character such that it is looking towards a world position.|
|AddForce|force : [Vector3](../objects/Vector3.md)<br/>mode : [String](../static/String.md) = Acceleration|none|Adds a force to the character with given force vector and optional mode. Valid modes are Force, Acceleration, Impulse, VelocityChange with default being Acceleration.|
|Reveal|delay : float|none|Reveaal the titan for a set number of seconds.|
|AddOutline|color : [Color](../objects/Color.md) = <br/>mode : [String](../static/String.md) = OutlineAll|none|Adds an outline effect with the given color and mode. Valid modes are: OutlineAll, OutlineVisible, OutlineHidden, OutlineAndSilhouette, SilhouetteOnly, OutlineAndLightenColor|
|RemoveOutline||none|Removes the outline effect from the character.|
14 changes: 7 additions & 7 deletions Assets/Docs/objects/LineRenderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Inherits from object
|WidthMultiplier|float|False|The width multiplier of the line renderer|
|ColorGradientMode|[String](../static/String.md)|False|The color gradient mode of the line renderer|
## Methods
|Function|Returns|Description|
|---|---|---|
|GetPosition(<i>index</i> : int)|[Vector3](../objects/Vector3.md)|Get the position of a point in the line renderer|
|SetPosition(<br/><i>index</i> : int,<br/><i>position</i> : [Vector3](../objects/Vector3.md)<br/>)|none|Set the position of a point in the line renderer|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|GetPosition|index : int|[Vector3](../objects/Vector3.md)|Get the position of a point in the line renderer|
|SetPosition|index : int<br/>position : [Vector3](../objects/Vector3.md)|none|Set the position of a point in the line renderer|
## Static Methods
|Function|Returns|Description|
|---|---|---|
|CreateLineRenderer()|[LineRenderer](../objects/LineRenderer.md)|[Obselete] Create a new LineRenderer|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|CreateLineRenderer||[LineRenderer](../objects/LineRenderer.md)|[Obselete] Create a new LineRenderer|
34 changes: 17 additions & 17 deletions Assets/Docs/objects/List.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ example = List((CustomLogicSetBuiltin))
|---|---|---|---|
|Count|int|True|The number of elements in the list|
## Methods
|Function|Returns|Description|
|---|---|---|
|Clear()|none|Clear all list elements|
|Get(<i>index</i> : int)|Object|Get the element at the specified index|
|Set(<br/><i>index</i> : int,<br/><i>value</i> : Object<br/>)|none|Set the element at the specified index|
|Add(<i>value</i> : Object)|none|Add an element to the end of the list|
|InsertAt(<br/><i>index</i> : int,<br/><i>value</i> : Object<br/>)|none|Insert an element at the specified index|
|RemoveAt(<i>index</i> : int)|none|Remove the element at the specified index|
|Remove(<i>value</i> : Object)|none|Remove the first occurrence of the specified element|
|Contains(<i>value</i> : Object)|bool|Check if the list contains the specified element|
|Sort()|none|Sort the list|
|SortCustom(<i>method</i> : UserMethod)|none|Sort the list using a custom method, expects a method with the signature int method(a,b)|
|Filter(<i>method</i> : UserMethod)|[List](../objects/List.md)|Filter the list using a custom method, expects a method with the signature bool method(element)|
|Map(<i>method</i> : UserMethod)|[List](../objects/List.md)|Map the list using a custom method, expects a method with the signature object method(element)|
|Reduce(<br/><i>method</i> : UserMethod,<br/><i>initialValue</i> : Object<br/>)|Object|Reduce the list using a custom method, expects a method with the signature object method(acc, element)|
|Randomize()|none|Randomize the list|
|ToSet()|[Set](../objects/Set.md)|Convert the list to a set|
|Function|Parameters|Returns|Description|
|---|---|---|---|
|Clear||none|Clear all list elements|
|Get|index : int|Object|Get the element at the specified index|
|Set|index : int<br/>value : Object|none|Set the element at the specified index|
|Add|value : Object|none|Add an element to the end of the list|
|InsertAt|index : int<br/>value : Object|none|Insert an element at the specified index|
|RemoveAt|index : int|none|Remove the element at the specified index|
|Remove|value : Object|none|Remove the first occurrence of the specified element|
|Contains|value : Object|bool|Check if the list contains the specified element|
|Sort||none|Sort the list|
|SortCustom|method : UserMethod|none|Sort the list using a custom method, expects a method with the signature int method(a,b)|
|Filter|method : UserMethod|[List](../objects/List.md)|Filter the list using a custom method, expects a method with the signature bool method(element)|
|Map|method : UserMethod|[List](../objects/List.md)|Map the list using a custom method, expects a method with the signature object method(element)|
|Reduce|method : UserMethod<br/>initialValue : Object|Object|Reduce the list using a custom method, expects a method with the signature object method(acc, element)|
|Randomize||none|Randomize the list|
|ToSet||[Set](../objects/Set.md)|Convert the list to a set|
Loading

0 comments on commit 90f7240

Please sign in to comment.