- 好友
- 1
- 在线时间
- 0 小时
- 最后登录
- 2024-3-13
扈从
- UID
- 3096100
- 第纳尔
- 937
- 精华
- 0
- 互助
- 6
- 荣誉
- 2
- 贡献
- 10
- 魅力
- 249
- 注册时间
- 2019-8-16
鲜花( 25) 鸡蛋( 0)
|
本帖最后由 gamemi 于 2021-1-16 17:42 编辑
暂时没出问题的代码块,所以我就折叠了,虽说有些依然看不懂。
(set_spawn_radius, 1),
(spawn_around_party,"$g_encountered_party","pt_officials_caravan"),##呼叫跟随者
(assign, ":quest_target_party", reg0),
(party_set_ai_behavior, ":quest_target_party", ai_bhvr_track_party),
(party_set_ai_object, ":quest_target_party", "p_main_party"),
(party_set_flags, ":quest_target_party", pf_default_behavior, 0),
(quest_set_slot, "qst_escort_officials_caravan", slot_quest_target_party, "pt_officials_caravan"),
(quest_set_slot, "qst_escort_officials_caravan", slot_quest_current_state, 1),
(str_store_party_name_link, s8, "p_town_4"),
(setup_quest_text, "qst_escort_officials_caravan"),
(str_store_string, s2, "@Escort the merchant caravan to the town of {s8}."),
(call_script, "script_start_quest", "qst_escort_officials_caravan", "$g_talk_troop"),
|
(store_distance_to_party_from_party,":caravan_distance_to_destination","p_town_4","$caravan_escort_party_id"),
(lt, ":caravan_distance_to_destination", 2),
(party_stack_get_troop_id, ":caravan_leader", "$caravan_escort_party_id", 0),
(party_stack_get_troop_dna, ":caravan_leader_dna", "$caravan_escort_party_id", 0),
(start_map_conversation, ":caravan_leader", ":caravan_leader_dna"),
|
出问题的在下边,所以不折叠了。
(call_script, "script_end_quest","qst_escort_officials_caravan"),
(quest_set_slot, "qst_escort_officials_caravan", slot_quest_current_state, 2),
(assign, "$g_leave_encounter", 1),
(call_script, "script_change_troop_renown", "trp_player", 20),
这串代码运行完后,任务结束,不过跟随的officials_caravan还是没有消失掉,而且一直跟着~~~~~~~~~~~~~~~~~~
所以要如何让他消失掉?
|
|