Jump to content

Recommended Posts

Posted

Why i can't compile this:

 

Int Size

Function QChain_Constructor( Int iSize = 32 )
Size = iSize
NextID = new Int [ Size as Int ]
PrevID = new Int [ Size as Int ]
RefID = new Int [ Size as Int ]
List = new Int [ Size as Int ]
EndFunction
; without casting is not working too :P
Posted (edited)

This was answered by previous posting of mine. FallOut 4 papyrus engine can handle

Size = 32
NextID = new Int [ Size ]

, but Skyrim is able to do this only

NextID = new Int [32]
Edited by ReDragon2013
Posted

You need SKSE to size arrays at runtime. You can fake it without SKSE by creating your own custom handler that just has a hundred and twenty eight different cases, but screw doing that, it sucks.

  • Recently Browsing   0 members

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