enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-devel] help wanted for Leveldesign: enigma.GetPos


From: S. Siggelkow
Subject: [Enigma-devel] help wanted for Leveldesign: enigma.GetPos
Date: Sun, 28 Sep 2003 23:31:48 +0200

Hi,

how can I get the current position of an actor?

The following code outputs only "-1":
set_actor("ac-whiteball-small", 4.5,6.5,  {name="s1"})
function timercheck()
local x,y = enigma.GetPos(enigma.GetNamedObject("s1"))
document(5,5,x)
end

if "s1" is a wooden stone it works perfectly.

thanks
Sven





reply via email to

[Prev in Thread] Current Thread [Next in Thread]