Jump to content

Arrays question.


wcho035

Recommended Posts

Hi, I have a question about scripting.

 

Does anyone know how to create ref arrays?

 

Like ref actor[10]?

 

I have experiment with it and the complier are not too happy with the syntax like for example

 

If I have the two variable.

 

ref actor

short i

 

And the following lines.

 

set actor to npcx.something (npcx.something is JUST an example of something)

set i to i + i

 

the compiler is not too happy with the actor.

Link to comment
Share on other sites

In Oblivion, a plugin for OBSE called "Pluggy" was created that allowed for the use of arrays. FOSE doesn't have plugin functionality fully set up yet, but once it does something similar should be possible to create.

 

Once FOSE creates a script version of GetScriptVariable, you will be able to use it to emulate arrays and object-oriented programming, although this will obviously not always be the most simple or efficient method of doing what you want to do.

 

Cipscis

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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