#404 Need to mimic a evac function for spawns

已关闭
neatz092 年之前创建 · 1 条评论
neatz09 评论于 2 年之前

see title

see title
devn00b 评论于 2 年之前
所有者

Sorta not needed as we have SetPosition. However, npc's would tend to wander back to its spawn point so added a command to prevent this - ClearRunback(NPC). You can use the following to test (loc below is for GMHALL).

function hailed(NPC, Spawn)

FaceTarget(NPC, Spawn)

Say(NPC,"Hell no! I'm out! -poof-")

ClearRunback(NPC)

SetPosition(NPC, 684.86, -35.96, 1531.88, 250.63)

end

NPC should now port to the location and stay there.

Sorta not needed as we have SetPosition. However, npc's would tend to wander back to its spawn point so added a command to prevent this - ClearRunback(NPC). You can use the following to test (loc below is for GMHALL). function hailed(NPC, Spawn) FaceTarget(NPC, Spawn) Say(NPC,"Hell no! I'm out! -poof-") ClearRunback(NPC) SetPosition(NPC, 684.86, -35.96, 1531.88, 250.63) end NPC should now port to the location and stay there.
devn00b2 年之前 关闭
登录 并参与到对话中。
正在加载...
取消
保存
这个人很懒,什么都没留下。