wcho035 Posted April 2, 2009 Share Posted April 2, 2009 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 actorshort 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 More sharing options...
TGBlank Posted April 2, 2009 Share Posted April 2, 2009 no arrays in script code. Link to comment Share on other sites More sharing options...
Cipscis Posted April 2, 2009 Share Posted April 2, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.