Author Topic: [done] Teleporting with Lua  (Read 670 times)

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
[done] Teleporting with Lua
« on: 9 April 2012, 17:47:47 »
I's like a function like setUnitPosition(unitID,pos) to teleport a unit from one Position to another, without the move-command.
« Last Edit: 11 April 2012, 05:42:09 by softcoder »

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: Teleporting with Lua
« Reply #1 on: 11 April 2012, 05:41:52 »
Added in svn:

setUnitPosition(int unitId, Vec2i pos)

MuwuM

  • Ornithopter
  • *****
  • Posts: 426
  • No Game without Move(ment)
    • View Profile
    • MuwuM - Lexicons
Re: [done] Teleporting with Lua
« Reply #2 on: 11 April 2012, 06:02:51 »
Thank you