3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2846|回复: 2
打印 上一主题 下一主题

[讨论] 突然发下地下掩体4.4设计有问题

[复制链接]

27

主题

619

帖子

576

积分

高级玩家

Rank: 4

贡献度
36
金元
4324
积分
576
精华
0
注册时间
2011-10-17
跳转到指定楼层
主题
发表于 2013-9-9 22:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用喷气去辐射会是辐射值出现负值 脚本不知道

Begin OnTriggerLeave Player
        Set SprayREF to GetLinkedREF
        SprayREF.Disable
END

Begin OnTrigger Player

        Set SprayREF to GetLinkedREF

        If timer < 1
                Set timer to timer + getsecondspassed
        else

                If Player.GetActorValue RadiationRads <= 1
                        ;Do Nothing
                        SprayREF.Disable
                elseIf Player.GetActorValue RadiationRads < 20
                        ;Restore to 0
                        player.RestoreAV RadiationRads 1000
                        Showmessage EHRemoveRads
                        SprayREF.Enable
                elseif Player.GetActorValue RadiationRads > 0
                        ;Remove 20 a sec
                        Player.ModActorValue RadiationRads -20
                        Showmessage EHRemoveRads
                        SprayREF.Enable
                endif

                Set Timer to 0

        endif

END

不知能应该怎么改
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-4-2 16:14 , Processed in 0.025994 second(s), 16 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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