BIS fnc showCuratorFeedbackMessage: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.16


| arma3 |= Game name
|gr1= Curator


|1.16|= Game version
|descr= Show feedback message when illegal operation is attempted in curator interface.<br>
____________________________________________________________________________________________
'''Interface'''
* '''000''': Cannot exit Zeus interface
* '''003''': Cannot move camera outside the camera area


| ''N/A'' |= Description
'''Placing'''
____________________________________________________________________________________________
* '''101''': Placing objects is not available
* '''102''': Insufficient resources
* '''103''': Selected position is not in an editing area


| <!-- [] call [[BIS_fnc_showCuratorFeedbackMessage]]; --> |= Syntax
'''Placing waypoints'''
* '''201''': Placing waypoints is not available
* '''206''': No objects, groups or waypoints selected


|p1= |= Parameter 1
'''Editing'''
* '''301''': Editing entities is not available
* '''303''': Selected position is not inside editing area
* '''304''': One of the selected entities is not in an editing area
* '''307''': Players cannot be edited
* '''308''': The vehicle is full


| |= Return value
'''Deleting'''
____________________________________________________________________________________________
* '''401''': Deleting entities is not available
* '''404''': One of the selected objects is not in an editing area
* '''405''': One of selected vehicles has non-editable crew in it
* '''407''': Players cannot be deleted


|x1= <code></code> |=
''' Destroying'''
____________________________________________________________________________________________
* '''501''': Destroying entities is not available
* '''504''': One of the selected objects is not in an editing area
* '''505''': One of the selected vehicles has non-editable crew in it
* '''506''': No objects selected
* '''507''': Players cannot be destroyed


| |= See also
'''Syncing'''
* '''609''': At least one AI unit has to be present in synchronization
* '''610''': Cannot change player side (typo: ''"changle"'')


}}
|s1= [curator, messageInfo] call [[BIS_fnc_showCuratorFeedbackMessage]]
 
|p1= curator: [[Object]] - ''not used''
 
|p2= messageInfo: [[Number]] or [[String]] - error ID, or text message to be displayed
 
|r1= [[Boolean]] - [[true]] when done


<h3 style="display:none">Notes</h3>
|x1= <code><nowiki>[</nowiki>[[objNull]], 404] [[call]] [[BIS_fnc_showCuratorFeedbackMessage]];</code>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x2= <code><nowiki>[</nowiki>[[objNull]], "You can't do that!"] [[call]] [[BIS_fnc_showCuratorFeedbackMessage]];</code>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[BIS_fnc_curatorHint]]
[[Category:Function Group: Curator|{{uc:showCuratorFeedbackMessage}}]]
}}
[[Category:Functions|{{uc:showCuratorFeedbackMessage}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showCuratorFeedbackMessage}}]]

Revision as of 11:16, 14 June 2021

Hover & click on the images for description

Description

Description:
Show feedback message when illegal operation is attempted in curator interface.
Interface
  • 000: Cannot exit Zeus interface
  • 003: Cannot move camera outside the camera area
Placing
  • 101: Placing objects is not available
  • 102: Insufficient resources
  • 103: Selected position is not in an editing area
Placing waypoints
  • 201: Placing waypoints is not available
  • 206: No objects, groups or waypoints selected
Editing
  • 301: Editing entities is not available
  • 303: Selected position is not inside editing area
  • 304: One of the selected entities is not in an editing area
  • 307: Players cannot be edited
  • 308: The vehicle is full
Deleting
  • 401: Deleting entities is not available
  • 404: One of the selected objects is not in an editing area
  • 405: One of selected vehicles has non-editable crew in it
  • 407: Players cannot be deleted
Destroying
  • 501: Destroying entities is not available
  • 504: One of the selected objects is not in an editing area
  • 505: One of the selected vehicles has non-editable crew in it
  • 506: No objects selected
  • 507: Players cannot be destroyed
Syncing
  • 609: At least one AI unit has to be present in synchronization
  • 610: Cannot change player side (typo: "changle")
Execution:
call
Groups:
Curator

Syntax

Syntax:
[curator, messageInfo] call BIS_fnc_showCuratorFeedbackMessage
Parameters:
curator: Object - not used
messageInfo: Number or String - error ID, or text message to be displayed
Return Value:
Boolean - true when done

Examples

Example 1:
[objNull, 404] call BIS_fnc_showCuratorFeedbackMessage;
Example 2:
[objNull, "You can't do that!"] call BIS_fnc_showCuratorFeedbackMessage;

Additional Information

See also:
BIS_fnc_curatorHint

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