Announcement

Collapse
No announcement yet.

How to add a default UniqueNetId?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to add a default UniqueNetId?

    I can't see the struct for UniqueNetId anywhere in unrealscript code.

    I know that the structure should just have a field Uid in it, but if i try something like this in my default properties:
    Code:
    TestPlayerId=(Uid=0x0000000000000001)
    I get the error:
    Code:
    Warning, ImportText (Uid): Missing opening parenthesis: 0x0000000000000000)
    Any ideas?
    Last edited by Coldscooter; 07-13-2020, 04:22 PM.

    #2
    Try TestPlayerId=(Uid=(A=0x0000000000000001,B=0x0000000000000000))

    Or whatever the dword numbers for 1 and 0 are. You might just be able to write (A=1,B=0)
    Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

    Comment


      #3
      Thanks for the idea Nathaniel3W

      That does allow me to compile, however the string version of it always comes out as 0x0000000000000000. So I'm guessing it's not liking how I'm setting it.

      Comment

      Working...
      X