骑马与砍杀中文站论坛

 找回密码
 注册(Register!)

QQ登录

只需一步,快速开始

搜索
购买CDKEY 小黑盒加速器
查看: 1288|回复: 0

[求助] 多重投掷限定友方npc(已解决)

[复制链接]

1

主题

272

回帖

82

积分

扈从

Rank: 2Rank: 2

UID
2345999
第纳尔
1575
精华
0
互助
0
荣誉
0
贡献
0
魅力
0
注册时间
2014-12-5
鲜花(2) 鸡蛋(0)
发表于 2024-6-24 15:51:30 | 显示全部楼层 |阅读模式
本帖最后由 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),

您需要登录后才可以回帖 登录 | 注册(Register!)

本版积分规则

Archiver|手机版|小黑屋|骑马与砍杀中文站

GMT+8, 2024-11-19 08:26 , Processed in 0.113908 second(s), 18 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表