使用教学pvf
Script\monster\new_goblin\action\throw.act
调用测试投掷哥布林
核心代码解析
//怪物瞬移到玩家
[TRIGGER]
[FRAME]
2 2
[WHICH]
[CHARACTER] //对象玩家
[GET TARGET] //选取
1
[DISTANCE] //选取条件
[HIGH]
[DO BEHAVIOR]
[CHECKUP OBJECT]
0
[/TRIGGER]
[BEHAVIOR]
[TELEPORT] //传送代码
[POS]
-50 0 0
[MOVE ME]
[/TELEPORT]
[/BEHAVIOR]
模板
#PVF_File
[MOTION]
[BASE ANI]
`../animation/Throw.ani`
[SOUND]
`THROW_STONE` 0
[/SOUND]
[SPEECH]
`傳送效果` 1 100
[/SPEECH]
[/MOTION]
[TRIGGER]
[FRAME]
2 2
[WHICH]
[CHARACTER]
[GET TARGET]
1
[DISTANCE]
[HIGH]
[DO BEHAVIOR]
[CHECKUP OBJECT]
0
[/TRIGGER]
[BEHAVIOR]
[TELEPORT]
[POS]
-50 0 0
[MOVE ME]
[/TELEPORT]
[/BEHAVIOR]
© 版权声明
THE END
暂无评论内容