StendhalScripting/Lua: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>AntumDeluge
Adding Transitions: "newAction", "newCondition", & "newNotCondition" replaced by member methods of "actions" & "conditions" objects
imported>AntumDeluge
NPCs: Update example to use "npc:setPath" instead of "entities:setPath"
Line 338: Line 338:


-- Use helper object to create NPC path
-- Use helper object to create NPC path
entities:setPath(npc, nodes)
npc:setPath(nodes)


-- Dialogue
-- Dialogue