Jump to content

UnitCreate for new PC Soldiers


Deranged Imp

Recommended Posts

I'm having some difficulty using UnitCreate to generate some new characters that I've generated in a mod via the console in-game. I've got all the syntax down, I think:

 

@local unit = CreateUnit ( 1000004 , 0 , "Test" , "Unit1_la" , 1 )

 

When I use this nothing appears, however when I use Axel's npersID (3) he will appear just fine. I don't have a lot in the way of scripting knowledge, but could "local unit" be the issue here? If I've made the character in a mod and activated it via the custom game menu?

 

If anyone could offer insight on this I'd be grateful.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...