武装突袭 Wiki
探索
首页
讨论板
所有页面
社区页
交互式地图
最新博文
页面
最新页面
Contact Reports
Hotshot's Sandbox
DIK KeyCodes
Curator
武装突袭 Wiki
Product.cpp/bin File Format
Oxygen Light
最新博客
分类
Uploaded with UploadWizard
Face A2 Face101.jpg
Face A2 Face102.jpg
Face A2 Face103.jpg
Face A2 Face104.jpg
Face A2 Face105.jpg
Face A2 Face106.jpg
Face A2 Face107.jpg
含有损坏文件链接的页面
Eden Editor: Introduction
Eden Editor: Switching from 2D Editor
Eden Editor: Menu Bar
Eden Editor: Asset Browser
Eden Editor: Toolbar
Eden Editor: Status Bar
Eden Editor: Entity Attributes
社区
社区首页
社区中心
帮助中心
FANDOM
游戏
电影
电视
wiki
探索wiki
社区中心
创建wiki
尚未注册?
注册
登录
FANDOM
Explore
Current Wiki
创建wiki
尚未注册?
注册
登录
登录
注册
武装突袭 Wiki
4,828
个页面
探索
首页
讨论板
所有页面
社区页
交互式地图
最新博文
页面
最新页面
Contact Reports
Hotshot's Sandbox
DIK KeyCodes
Curator
武装突袭 Wiki
Product.cpp/bin File Format
Oxygen Light
最新博客
分类
Uploaded with UploadWizard
Face A2 Face101.jpg
Face A2 Face102.jpg
Face A2 Face103.jpg
Face A2 Face104.jpg
Face A2 Face105.jpg
Face A2 Face106.jpg
Face A2 Face107.jpg
含有损坏文件链接的页面
Eden Editor: Introduction
Eden Editor: Switching from 2D Editor
Eden Editor: Menu Bar
Eden Editor: Asset Browser
Eden Editor: Toolbar
Eden Editor: Status Bar
Eden Editor: Entity Attributes
社区
社区首页
社区中心
帮助中心
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
编辑“
HideObject
”
返回页面
编辑
可视化编辑器
查看历史
讨论 (0)
正在编辑
HideObject
警告:
您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您
登录
或
创建
一个账户,您的编辑将归属于您的用户名,且将享受其他好处。
反垃圾检查。
不要
加入这个!
{{Command|= Comments ____________________________________________________________________________________________ | arma2 |= Game name |1.06|= Game version |arg= global |= Effects in MP |eff= local |= Effects in MP ____________________________________________________________________________________________ | Hide entity. Can be used on soldiers and vehicles, also on static objects. |= Description ____________________________________________________________________________________________ | '''hideObject''' object |= Syntax |p1= object: [[Object]] |= | [[Nothing]] |= Return value ____________________________________________________________________________________________ |s2= object '''hideObject''' hidden |= |p21= object: [[Object]].|= |p22= hidden: [[Boolean]] hidden/visible.|= |r2= [[Nothing]]|= ____________________________________________________________________________________________ |x1= <code>[[hideObject]] unitName; </code>|= Example 1 ____________________________________________________________________________________________ |x2= <code>objectName [[hideObject]] true; </code>|= Example 2 ____________________________________________________________________________________________ | [[isObjectHidden]], [[hideObjectGlobal]], [[deleteCollection]] |= See also |mp= Command has local effect, needs to be run on each client. |= }} <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <dd class="notedate">Posted on July 15, 2010 - 20:00 <dt class="note">'''[[User:Shuko|Shuko]]''' <dd class="note">This command will hide a unit, but he will still shoot enemies. Unit will be invisible, but weapon muzzle are visible. <dt class="note">'''[[User:McHide|McHide]]''' <dd class="note">Use MP framework to activate this comand on all players from server or any other maschine <code>_nic = [nil, mantohide, "per", rHideObject, [[true]] ] [[call]] RE; //In A3 use [[hideObjectGlobal]] instead.</code> <dt class="note">'''[[User:Demonized|Demonized]]''' <dd class="note">you can use code as in example 2, where true = ON and false = OFF, if using it like in example 1, you can only turn it ON <dt class="note">'''[[User:DamonDaemon|DamonDaemon]]''' <dd class="note">using this locally causes the player/object disappear only locally; has to be executed serverside if used in MP. Hidden Vehicles still emit smoke/rotor blade dust and (probably) still emit engine sounds. Usefull for creating objects the map-creator doesn't want to be seen, like Units that protect a certain Area (like a safe-zone) against teamkillers or enemy units. <dt class="note">'''[[User:neokika|neokika]]''' <dd class="note">The above comment is partially incorrect, if the effects of the command are local then it must be executed in every machine so it has global effect. If it is run only on the server machine, it will only be hidden on the server, while clients still see it. <dd class="notedate">Posted on March 5, 2014 - 16:25 <dt class="note">'''[[User:Krycek CADelta|[CAD] Krycek]]''' <dd class="note">As of today this now finally has a Global counterpart, just released on the Stable branch. Added it's link under See also. <!-- Note Section END --> </dl> <h3 style="display:none">Bottom Section</h3> [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on October 30, 2014 - 05:54 (UTC)</dd> <dt class="note">[[User:Benargee|Benargee]]</dt> <dd class="note">When used on player, it only has an effect on third person mode. First person [[LOD]] is still visible. (A3 Dev 1.33) </dd> </dl> <!-- DISCONTINUE Notes --> <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on June 27, 2015 - 18:14 (UTC)</dd> <dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt> <dd class="note"> [[hideObject]] and [[hideObjectGlobal]] disable object collision in addition to rendering. '''A3 1.45.131175''' (tested by hiding buildings and running through, driving through, flying through, and shooting through where the building used to be) </dd> </dl> <!-- DISCONTINUE Notes --> <!-- CONTINUE Notes --> <dl class="command_description"> <dd class="notedate">Posted on January 26, 2016 - 22:34 (UTC)</dd> <dt class="note">[[User:Bloodwyn1756|Bloodwyn1756]]</dt> <dd class="note"> Sometimes it´s easier to teleport the object about 100m under the ground (also JiP Support): <code>_obj setPosATL [getPosATL _obj select 0, getPosATL _obj select 1, (getPosATL _obj select 2)-100];</code> And to unhide: <code>_obj setPosATL [getPosATL _obj select 0, getPosATL _obj select 1, (getPosATL _obj select 2)+100];</code> </dd> </dl> <!-- DISCONTINUE Notes -->
摘要:
请注意在武装突袭 Wiki上的所有贡献都将依据CC-BY-SA进行发布。
取消
编辑帮助
(在新窗口中打开)
本页使用的模板:
Template:=
(
查看源代码
)
Template:Biki unified see also
(
查看源代码
)
Template:Busa
(
查看源代码
)
Template:Command
(
查看源代码
)
Template:Command-example
(
查看源代码
)
Template:Command-param
(
查看源代码
)
Template:EffArg
(
查看源代码
)
Template:EffArg/cat
(
查看源代码
)
Template:EffArg/form
(
查看源代码
)
Template:EffArg/title
(
查看源代码
)
Template:GVI
(
查看源代码
)
Template:GVI/branch
(
查看源代码
)
Template:GVI/intro
(
查看源代码
)
Template:Name
(
查看源代码
)
该页面属于1个隐藏分类:
Category:Arma 2: New Scripting Commands List
Follow on IG
TikTok
Join Fan Lab