Original Post
Is there no easier why to access scripted structures with application then the example found in the 'test_feature' source 'test_structintf.h'? It seems like a lot of overhead just to get access to the scripted structure. I just want to change some values within the structure and read some values. If I have the following situation what would be my best option of access? script: struct npcFlavourStats { float hunger; float fun; float aggro; float rest; ... } Now this structure is used by each NPC in a fictional game and needs to be updated at time and event intervals. Do I have to create a 'asIScriptAny' structure for each NPC instance? Also is it possible do destroy the 'asIScriptAny' instance and keep the 'asIScriptStruct' instance and use it 'legaly'? (operating on valid data)