The Daily Click ::. Forums ::. Klik Coding Help ::. xlua mmfi...
 

Post Reply  Post Oekaki 
 

Posted By Message

Zode



Registered
  13/04/2009
Points
  239

PS3 Owner
27th November, 2011 at 20:11:30 -

so. as i cant find any tutorials about xlua mmfi ill just ask here,
i keep getting error "attempt to index field 'values' (a nil value)" with xlua+mmfi
(in editor, there is object called testobj WITH value called xadd)
package.cpath = "./?.dll"

require "mmfi"
-- object setup --
local testObject = mmf.newObjectClass("testobj")
assert(testObject ~= nil)
assert(testObject.className == "testobj")
print(testObject.objectCount)
-- functions --
function test()
testObject.common.values['xadd'] = 1
end


 
n/a

nivram



Registered
  20/07/2006
Points
  171
27th November, 2011 at 23:57:39 -

Zode. You may want to also post this on the Clickteam forums.

Marv

 
458 MMF2 & CTF 2.5 examples and games

http://www.castles-of-britain.com/mmf2examples.htm
   

Post Reply



 



Advertisement

Worth A Click