EntitySpecific

Overview

Return Value
Function

SpawnKnife(KnifeVariant knifeVariant, integer subType, Vectorarrow-up-right position, Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, `integer

SpawnNPC(EntityTypearrow-up-right entityType, integer variant, integer subType, Vectorarrow-up-right position, Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner?, `integer

SpawnSlot(SlotVariant slotVariant, integer subType, Vectorarrow-up-right position, Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, `integer

Functions

GetBombs()

EntityBombarrow-up-right[] GetBombs(BombVariantarrow-up-right | integer? bombVariant = -1 , integer? subType = -1 )

Helper function to get all of the bombs in the room. (Specifically, this refers to the EntityBomb class, not bomb pickups.)

GetEffects()

EntityEffectarrow-up-right[] GetEffects(EffectVariantarrow-up-right | integer? effectVariant = -1 , integer? subType = -1 )

Helper function to get all of the effects in the room.

GetFamiliars()

EntityFamiliararrow-up-right[] GetFamiliars(FamiliarVariantarrow-up-right | integer? familiarVariant = -1 , integer? subType = -1 )

Helper function to get all of the familiars in the room.

GetKnives()

void GetKnives(KnifeVariant | integer? knifeVariant = -1 , integer? subType = -1 )

Helper function to get all of the knives in the room.

GetLasers()

EntityLaserarrow-up-right[] GetLasers(LaserVariantarrow-up-right | integer? laserVariant = -1 , integer? subType = -1 )

Helper function to get all of the lasers in the room.

GetNPCs()

EntityNPCarrow-up-right[] GetNPCs(EntityTypearrow-up-right | integer? entityType = -1 , integer? variant = -1 , integer? subType = -1 , boolean? ignoreFriendly = false )

Helper function to get all of the NPCs in the room.

GetPickups()

EntityPickuparrow-up-right[] GetPickups(PickupVariantarrow-up-right | integer? pickupVariant = -1 , integer? subType = -1 )

Helper function to get all of the pickups in the room.

GetProjectiles()

EntityProjectilearrow-up-right[] GetProjectiles(ProjectileVariantarrow-up-right | integer? projectileVariant = -1 , integer? subType = -1 )

Helper function to get all of the projectiles in the room.

GetSlots()

Entityarrow-up-right[] GetSlots(SlotVariant | integer? slotVariant = -1 , integer? subType = -1 )

Helper function to get all of the slots in the room.

GetTears()

EntityTeararrow-up-right[] GetTears(TearVariantarrow-up-right | integer? tearVariant = -1 , integer? subType = -1 )

Helper function to get all of the tears in the room.

SpawnBomb()

EntityBombarrow-up-right SpawnBomb(BombVariantarrow-up-rightbombVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a bomb.

SpawnEffect()

EntityEffectarrow-up-right SpawnEffect(EffectVariantarrow-up-righteffectVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn an effect.

SpawnFamiliar()

EntityFamiliararrow-up-right SpawnFamiliar(FamiliarVariantarrow-up-rightfamiliarVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a familiar.

SpawnKnife()

EntityKnifearrow-up-right SpawnKnife(KnifeVariantknifeVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a knife.

SpawnLaser()

EntityLaserarrow-up-right SpawnLaser(LaserVariantarrow-up-rightlaserVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a laser.

SpawnNPC()

EntityNPCarrow-up-right SpawnNPC(EntityTypearrow-up-rightentityType, integer variant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner?, integer | RNGarrow-up-right? seedOrRNG?)

Helper function to spawn an NPC. Note that if you pass a non-NPC EntityType to this function, it will cause a run-time error, since the Entity.ToNPC method will return nil.

SpawnPickup()

EntityPickuparrow-up-right SpawnPickup(PickupVariantarrow-up-rightpickupVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a pickup.

SpawnProjectile()

EntityProjectilearrow-up-right SpawnProjectile(ProjectileVariantarrow-up-rightprojectileVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a projectile.

SpawnSlot()

Entityarrow-up-right SpawnSlot(SlotVariantslotVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a slot.

SpawnTear()

EntityTeararrow-up-right SpawnTear(TearVariantarrow-up-righttearVariant, integer subType,Vectorarrow-up-rightposition,Vectorarrow-up-right? velocity, Entityarrow-up-right? spawner, integer | RNGarrow-up-right? seedOrRNG)

Helper function to spawn a tear.

Last updated