From: Physics- why not?

Deleted posts and threads from the beginning until the creation of the Archives category.
Locked
User avatar
treellama
Vidmaster
Posts: 6110
Joined: Jun 2nd '06, 02:05
Location: Pittsburgh
Contact:

RAITHE wrote:These simple components in LUA would work as long as the projectile is marked as guided (there might be more to adjust in the physics than that, but I can't think of any at the moment):

t = p:find_target()

and

if is_monster(t) then
proj.target = t

something like that...
Marking the projectile guided will not do anything against other players. Guided is only for monster -> player, or with the MML, player -> monster. Player -> player guided projectiles requires a real Lua script.
Last edited by treellama on Mar 28th '11, 12:47, edited 1 time in total.
Locked