• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help with Console Commands regarding Spawning

Baesics

New member
this maybe has been resolved already

but does anyone know of a mod or even a command that lets you spawn an entity at a location instead of a player?

like if i wanted to spawn a certain zombie at coordinates?

i see when i type help in console, a command that says "SpawnEntityAt" (sea) but i cant get it to work

thank you in advance

 
the easiest way to use sea is to:

1) Stand where you want to spawn the entity, looking in the direction you want it to face.

2) go to the F1 console and type lp

3) move forwards a bit then open the console again.

4) Now you want

Code:
sea name_of_entity x y z number_of_entity 0 horizontal_rotation 0
x is east-west, y is height above bedrock, and z is north-south. number_of_entity should be 1 usually. last are the three rotations but entities can only display the middle one so set the other two to 0.

look at the output of lp that you ran before. It will have something like

Code:
-1132.4 49.1 802.7 (-10 189 0)
this means that x=-1132.4, y=49.1, and z=802.7. The numbers in the () are your rotation. You only care about the middle one.

5) Put it all together. Lets say you want to spawn npcTraderJoel. Your command will be:

Code:
sea npcTraderJoel -1132.4 49.1 802.7 1 0 189 0
NOTE do not use commas. Just separate the arguments with a space.

If you don't care about direction, you can skip the last 4 arguments:

Code:
sea npcTraderJoel -1132.4 49.1 802.7
easy!

 
Back
Top