Skip to content

Commit

Permalink
Update spawn-npc.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
AlgorithmLX authored Nov 25, 2023
1 parent 0fe8396 commit e98bd0c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/hollowengine-new/Script-SE/NPCs/spawn-npc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ sidebar_position: 0
:::info This is a template

```jsx
val <npcID> by NPCEntity.creating{
settings = NPCSettings("<displayName>", "hollowengine:<path/to/model>.gltf", Attributes(<attributes>), Pair(<float1>, <float2>), <boolean>)
=======
val <npcID> by NPCEntity.creating {
settings = NPCSettings(<nick>, <model>, <attributes>, <hitboxSize>, <showNick>)
location = SpawnLocation("<dimension>", pos(<x>, <y>, <z>), vec(<pitch>, <yaw>))
Expand Down

0 comments on commit e98bd0c

Please sign in to comment.