Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. function init(args)
  2.   entity.setInteractive(true)
  3. end
  4.  
  5. function onInteraction(args)
  6.    
  7.     world.spawnMonster(entity.configParameter("monsterType"), entity.toAbsolutePosition({ 0.0, 5.0 }), { level = 2 }, { damageTeamType = "friendly" } )
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement