最终整理版
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
extends NpcScript
|
||||
|
||||
#
|
||||
const ENTRANCE_POS : Vector2 = Vector2(1536, 1600) # tile (48, 50)
|
||||
|
||||
#
|
||||
func OnStart():
|
||||
Mes("站住。")
|
||||
Mes("议员博恩斯的命令:没有许可,任何人不得进入这些走廊。")
|
||||
Mes("我不管你为什么来。转身,出去。")
|
||||
Action(Escort)
|
||||
|
||||
func Escort():
|
||||
if own.state == ActorCommons.State.TRIGGER:
|
||||
own.SetState(ActorCommons.State.TRIGGER)
|
||||
|
||||
var entranceMapID : int = "图利姆沙 Center".hash()
|
||||
Action(NpcCommons.Warp.bind(own, entranceMapID, ENTRANCE_POS))
|
||||
Reference in New Issue
Block a user