CesarZ
Well-Known Member
- Joined
- Sep 20, 2012
- Messages
- 268
- Solutions
- 4
- Reaction score
- 63
can any one show me the proper use of
sorry about my tags I'm new scripting i like to tag my sections otherwise when its too much i get lost. lol
this is what i did
let me know thanks!
Code:
Game.createMonster(Demon, Npc():getPosition())
sorry about my tags I'm new scripting i like to tag my sections otherwise when its too much i get lost. lol
this is what i did
Lua:
elseif npcHandler.topic[cid] == 1 then -- if topic 1 variable is true then
if (msgcontains(msg, "Demon")) then -- if of part 2
npcHandler:say("say no more...", cid)
Game.createMonster(Demon, Npc():getPosition())
npcHandler.topic[cid] = 2
else -- part 2 else
npcHandler:say("Sorry, i cant do that", cid)
end -- part 2 end
,but no monster apears.The npc say: Say no more
let me know thanks!