Class "EntityFamiliar"
Last updated
Was this helpful?
Last updated
Was this helpful?
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
Adds to delayed. This doesn't remove other flags!
Adds to followers. This doesn't remove other flags!
Adds to orbitals. This doesn't remove other flags!
Shoots a projectile from the center of the familiar in the direction you defined. If used on a familiar that shoots multiple projectiles (example: harlequin baby), this function will only return the left most projectile based on the direction. If used on familiars with special tears (example: Lil Brimstone,...), this will just shoot a regular tear. This function will not play the shoot animation of the familiar.
Returns the position of an orbiting familiar relative to the player's position. Returns :::lua Vector(0,0) if its a normal familiar.
The "pos" argument is used as an offset.
Returns the number of familiars in that layer.
???+ bug "Bugs" This function does not seem to work.
Can be used to override the angular position of the familiar on its orbit based on the initial starting position of the orbit.
???- example "Example Code" This code will make all of your orbitals move as a tight wall around you.
Defines the orbit of the familiar, if its an orbital. The Vector is interpreted as the dimensions of the circle/oval orbit. Example: :::lua Vector(110,90)
is the orbital of "Forever alone".
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .static .tooltip .badge } {: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }
{: .abp .tooltip .badge }