Jump to content

OBSE arrays (again)


hawke1133

Recommended Posts

Finally after a bit of RL, I can get back to some scripting.

Here is my problem. Using OBSE 2.0, I am attempting to pass/use an array (and array of arrays) created in a quest script for "tracking" purposes. (I don't want to throw up 100 invisible paintbrushes on the world. lol)

One other thing. The script trying to use the array is an Object script.

Here is the object script:

scn AAObject
short hasmet
short once
Begin Onload
	
  if  once != 1 
   	let hasmet := AquestScript.mplayer[0] ; mplayer array is defined  as a nine element array in AquestScript, which is running
   	message "I've seen you before"
   	let once := 1
  endif
end

In the CS when I try to save this code, it says "Unknown Variable mplayer", any ideas?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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