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 revisionPrevious revision
lua:loadfunction [2014/07/18 15:41] vodurlua:loadfunction [2014/07/18 15: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.1405698099.txt.gz · Last modified: 2014/07/18 15:41 by vodur