本帖最后由 haobawo 于 2024-6-24 19:08 编辑
(store_trigger_param_1,":var_0"),
(agent_get_troop_id,":var_1",":var_0"),
(try_begin),
(eq,":var_1","trp_player"),
(store_trigger_param_1,":var_1"),
(try_for_range,":var_2",1,50),
(agent_get_horse,":var_5",":var_1"),
(agent_get_look_position,pos3,":var_1"),
(agent_get_position,pos4,":var_1"),
(718,4,3),
(try_begin),
(eq,":var_5",-1),
(position_move_z,pos4,170),
(else_try),
(position_move_z,pos4,270),
(try_end),
(set_fixed_point_multiplier,100),
(store_random_in_range,":var_3",-150,251),
(738,4,9000),
(739,4,":var_3"),
(738,4,-9000),
(store_random_in_range,":var_4",-150,251),
(738,4,":var_4"),
(1829,":var_1",4,4000,"itm_shi_you",0,"itm_shi_tou",0),
(try_end),
(else_try),
(is_between,":var_1","trp_npc1","trp_npc18"),
(store_trigger_param_1,":var_1"),
(try_for_range,":var_2",1,10),
(agent_get_horse,":var_5",":var_1"),
(agent_get_look_position,pos3,":var_1"),
(agent_get_position,pos4,":var_1"),
(718,4,3),
(try_begin),
(eq,":var_5",-1),
(position_move_z,pos4,170),
(else_try),
(position_move_z,pos4,270),
(try_end),
(set_fixed_point_multiplier,100),
(store_random_in_range,":var_3",-150,251),
(738,4,9000),
(739,4,":var_3"),
(738,4,-9000),
(store_random_in_range,":var_4",-150,251),
(738,4,":var_4"),
(1829,":var_1",4,4000,"itm_shi_tou",0,"itm_shi_tou",0),
(try_end),
|