Jump to content

Find out the ObjectID of a new created NPC


triplex2011

Recommended Posts

Hello.

 

Im searching for a way to find out the objectID of a newly created NPC to do something like

 

pushactoraway (getobjectid (player.placeatme 45BE5 1)) 90

// This should create a NPC (Here a Stormcloak Soldier - One Handed with Shield),

// gets the ObjectID and push him (based upon the ObjectID (required for this)) away

// to fall back somewhere in the Gameworld (alive)).

 

Currently player.placeatme 45BE5 1 or pushactoraway {objectID} 90 is working lonely very well,

but i always have to create the NPC and after clicking on the Character in the console

with the mouse i can use the second command. What it want is, that i can us this in

one step (withot clicking on the character).

 

Ok, i know getobjectid seams not to exists or i'm using the commands wrong, could somebody

tell me how to get this work.. required for an update of my Mod / Tool "War Scripter".

 

thanx, triplex2011

Edited by triplex2011
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...