TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SpawnNPC()

virtual void Terraria.ModLoader.GlobalNPC.SpawnNPC ( int npc,
int tileX,
int tileY )
inlinevirtualinherited

Allows you to customize an NPC (for example, its position or ai array) after it naturally spawns and before it is synced between servers and clients. As of right now, this only works for modded NPCs.

Parameters
npc
tileX
tileY

Definition at line 592 of file GlobalNPC.cs.

593 {
594 }