Radd
New Member
- Joined
- Mar 23, 2012
- Messages
- 31
- Reaction score
- 0
Hello, i have some problems with script I am creating right now. Here is piece of my code:
This is supposed to create 2 monsters and make them attack eachother, but they seems like they don't want to fight, just stay in one place. Anyone know, what's the problem with them?
Code:
local troll = doCreateMonster("Troll", {x=984, y=991, z=7})
local orc = doCreateMonster("Orc", {x=987, y=994, z=7})
doMonsterSetTarget(orc, troll)
doMonsterSetTarget(troll, orc)
This is supposed to create 2 monsters and make them attack eachother, but they seems like they don't want to fight, just stay in one place. Anyone know, what's the problem with them?