EntitySpecific

Overview

Return Value
Function

SpawnBomb(BombVariant bombVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnEffect(EffectVariant effectVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnFamiliar(FamiliarVariant familiarVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnKnife(KnifeVariant knifeVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnLaser(LaserVariant laserVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnNPC(EntityType entityType, integer variant, integer subType, Vector position, Vector? velocity, Entity? spawner?, `integer

SpawnPickup(PickupVariant pickupVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnProjectile(ProjectileVariant projectileVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnSlot(SlotVariant slotVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

SpawnTear(TearVariant tearVariant, integer subType, Vector position, Vector? velocity, Entity? spawner, `integer

Functions

GetBombs()

EntityBomb[] GetBombs(BombVariant | 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()

EntityEffect[] GetEffects(EffectVariant | integer? effectVariant = -1 , integer? subType = -1 )

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

GetFamiliars()

EntityFamiliar[] GetFamiliars(FamiliarVariant | 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()

EntityLaser[] GetLasers(LaserVariant | integer? laserVariant = -1 , integer? subType = -1 )

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

GetNPCs()

EntityNPC[] GetNPCs(EntityType | integer? entityType = -1 , integer? variant = -1 , integer? subType = -1 , boolean? ignoreFriendly = false )

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

GetPickups()

EntityPickup[] GetPickups(PickupVariant | integer? pickupVariant = -1 , integer? subType = -1 )

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

GetProjectiles()

EntityProjectile[] GetProjectiles(ProjectileVariant | integer? projectileVariant = -1 , integer? subType = -1 )

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

GetSlots()

Entity[] GetSlots(SlotVariant | integer? slotVariant = -1 , integer? subType = -1 )

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

GetTears()

EntityTear[] GetTears(TearVariant | integer? tearVariant = -1 , integer? subType = -1 )

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

SpawnBomb()

EntityBomb SpawnBomb(BombVariantbombVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a bomb.

SpawnEffect()

EntityEffect SpawnEffect(EffectVarianteffectVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn an effect.

SpawnFamiliar()

EntityFamiliar SpawnFamiliar(FamiliarVariantfamiliarVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a familiar.

SpawnKnife()

EntityKnife SpawnKnife(KnifeVariantknifeVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a knife.

SpawnLaser()

EntityLaser SpawnLaser(LaserVariantlaserVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a laser.

SpawnNPC()

EntityNPC SpawnNPC(EntityTypeentityType, integer variant, integer subType,Vectorposition,Vector? velocity, Entity? spawner?, integer | RNG? 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()

EntityPickup SpawnPickup(PickupVariantpickupVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a pickup.

SpawnProjectile()

EntityProjectile SpawnProjectile(ProjectileVariantprojectileVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a projectile.

SpawnSlot()

Entity SpawnSlot(SlotVariantslotVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a slot.

SpawnTear()

EntityTear SpawnTear(TearVarianttearVariant, integer subType,Vectorposition,Vector? velocity, Entity? spawner, integer | RNG? seedOrRNG)

Helper function to spawn a tear.

Last updated