Jump to content

Set values of an array in a single line?


Recommended Posts

Posted

I'm trying to make custom facial expressions. 

 

I want to avoid having to do this:

 

int[32] Preset

 

Preset[0] = 0

Preset[1] = 0

Preset[2] = 0

 

.......

 

I'd rather set all the values on a single line like this:

 

int [] Preset = [0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 60, 60, 0, 0, 0, 0, 0, 0, 0, 0, 1, 90]

 

Anyone know how to do this in papyrus?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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