User Tools

Site Tools


lua:loadfunction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lua:loadfunction [2014/07/18 08:41]
vodur
lua:loadfunction [2014/07/18 08:42] (current)
vodur
Line 25: Line 25:
     loadprog(31404) ​     loadprog(31404) ​
     -- alternately:​ target_mob:​loadprog(31404) ​     -- alternately:​ target_mob:​loadprog(31404) ​
-    -- alternately : mob:​loadprog(31404) ​ -- '​mob'​ in this case would be +    -- alternately : mob:​loadprog(31404) ​ -- '​mob'​ in this case would be target_mob because this function runs in target_mob'​s env
-target_mob because this function runs in target_mob'​s env+
     a_function( "​test1",​ "​test2"​ )     a_function( "​test1",​ "​test2"​ )
 end) end)
lua/loadfunction.txt · Last modified: 2014/07/18 08:42 by vodur