[NEW] Porta final funcionant
[FIX] Una posició del peu
This commit is contained in:
@@ -23,7 +23,8 @@ function trigger.new(_hab,_x,_y,_action,_escena,_id,_type,_doors,_linked_id)
|
||||
linked_id=_linked_id,
|
||||
enabled=true,
|
||||
disable_reason="",
|
||||
bb=_bb }
|
||||
bb=_bb,
|
||||
open_door=triggers.open_door }
|
||||
end
|
||||
|
||||
function trigger:update()
|
||||
@@ -118,7 +119,10 @@ end
|
||||
|
||||
function triggers:escena_habitacio_batman()
|
||||
if abad.objects.clau_premiere~=nil and abad.objects.clau_elalien~=nil then
|
||||
switches.start(0,0)
|
||||
-- switches.start(0,0)
|
||||
local trigger = trigger.new(abad.hab,1,1,nil,"","porta acces cacaus","",{20, 53,41})
|
||||
trigger:open_door()
|
||||
|
||||
abad.objects.clau_premiere=nil
|
||||
abad.objects.clau_elalien=nil
|
||||
remove_actor(self)
|
||||
|
||||
Reference in New Issue
Block a user