求助一个 复活术的 脚本。。。谢谢了

admin 2023/04/19 12:03:31 78
QF  内脚本这样写不行。。。
[@MagTagFunc1005]------对应的复活术
#if
#act
REALIVE

脚本应该怎么写 才能让他人原地复活啊 。。。。。。
GM命令复活好了
Gmexecute 复活 <$USERNAME> [@magtagfunc1005]
#if
#act
getoppositehumname S0
goto @复活确认

[@复活确认]
#if
equal s0 0
#act
messagebox 请站在你要复活人物的对面!
break

#if
not equal s0 0
#act
SET [1] 1
messagebox 你确定要复活<$STR(S0)>吗? @确定 @取消

[@确定]
#if
check [1] 1
#act
showprogressbardlg 5 @复活生效 正在复活<$STR(S0)>,进度%d%... 1 @复活失败

[@复活生效]
#if
check [1] 1
#act
gamexecute realive s0
SET [1] 0
mov s0 0
sendmsg 0 玩家<$USERNAME>使用复活术将<$STR(S0)>复活了!!

[@复活失败]
#act
set [1] 0
mov s0 0
messagebox  复活术施展被中断!!!


那个getoppositehumname我不确定能不能获取到死亡角色名称,或者有其他命令。
反正大概流程就是这样的了
gamexecute后面的 realive 是复活命令,具体命令上M2查看管理命令

补充内容 (2019-7-21 14:18):
gmexecute     不是 gamexecute 命令写错了 或者直接简单粗暴的

[@MagTagFunc1005]
#if
#SAY
请输入你要复活玩家的名称:<点击此处输入/@@inputstring10>\

[@inputstring10]
#IF
#ACT
GMexecute realive <$STR(S10)>
;gamexecute后面的 realive 是复活命令,具体命令上M2查看管理命令
xiexie谢谢
对死亡的人,施放技能没反应,
对活的人技能有反应。。。。
返回
我要发布
版本互换
代销
链接失效处理