hasInterface: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{uc:{{PAGENAME}}}} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 12: | Line 12: | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code>_isHC = !([[hasInterface]] <nowiki>||</nowiki> [[isDedicated]]);</code> | |x1= <code>_isHC = !([[hasInterface]] <nowiki>||</nowiki> [[isDedicated]]);</code> | ||
Revision as of 20:03, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Multiplayer
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
_isHC = !(hasInterface || isDedicated);
- Example 2:
_isHC = !hasInterface && !isDedicated;
Additional Information
- See also:
- isDedicatedisServer
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on December 21, 2014 - 14:55 (UTC)
- Killzone Kid
-
if (isDedicated) then { //run on dedicated server only }; if (isServer) then { //run on dedicated server or player host }; if (hasInterface) then { //run on all player clients incl. player host }; if (!isDedicated) then { //run on all player clients incl. player host and headless clients }; if (!isServer) then { //run on all player clients incl. headless clients but not player host }; if (!hasInterface) then { //run on headless clients and dedicated server }; if (!hasInterface && !isDedicated) then { //run on headless clients only };