BIS fnc showCuratorFeedbackMessage: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "{{Function " to "{{RV|type=function ") | m (Removed scripting error) | ||
| (13 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| {{RV|type=function | {{RV|type=function | ||
| | arma3 | |game1= arma3 | ||
| |version1= 1.16 | |||
| | | |gr1= Curator | ||
| | | |descr= Show feedback message when illegal operation is attempted in curator interface.<br> | ||
| {{{!}} class="valign-top" | |||
| {{!}} style="padding-right: 2em" {{!}} | |||
| '''Interface''' | '''Interface''' | ||
| * '''000''': Cannot exit Zeus interface | * '''000''': Cannot exit Zeus interface | ||
| * '''003''': Cannot move camera outside the camera area | * '''003''': Cannot move camera outside the camera area | ||
| '''Placing''' | '''Placing''' | ||
| * '''101''': Placing objects is not available | * '''101''': Placing objects is not available | ||
| * '''102''': Insufficient resources | * '''102''': Insufficient resources | ||
| * '''103''': Selected position is not in an editing area | * '''103''': Selected position is not in an editing area | ||
| '''Placing waypoints''' | '''Placing waypoints''' | ||
| * '''201''': Placing waypoints is not available | * '''201''': Placing waypoints is not available | ||
| * '''206''': No objects, groups or waypoints selected | * '''206''': No objects, groups or waypoints selected | ||
| '''Editing''' | '''Editing''' | ||
| * '''301''': Editing entities is not available | * '''301''': Editing entities is not available | ||
| Line 27: | Line 26: | ||
| * '''307''': Players cannot be edited | * '''307''': Players cannot be edited | ||
| * '''308''': The vehicle is full | * '''308''': The vehicle is full | ||
| {{!}} | |||
| '''Deleting''' | '''Deleting''' | ||
| * '''401''': Deleting entities is not available | * '''401''': Deleting entities is not available | ||
| Line 33: | Line 32: | ||
| * '''405''': One of selected vehicles has non-editable crew in it | * '''405''': One of selected vehicles has non-editable crew in it | ||
| * '''407''': Players cannot be deleted | * '''407''': Players cannot be deleted | ||
| ''' Destroying''' | ''' Destroying''' | ||
| * '''501''': Destroying entities is not available | * '''501''': Destroying entities is not available | ||
| Line 40: | Line 38: | ||
| * '''506''': No objects selected | * '''506''': No objects selected | ||
| * '''507''': Players cannot be destroyed | * '''507''': Players cannot be destroyed | ||
| '''Syncing''' | '''Syncing''' | ||
| * '''609''': At least one AI unit has to be present in synchronization | * '''609''': At least one AI unit has to be present in synchronization | ||
| * '''610''': Cannot change player side (typo: ''"changle"'') | * '''610''': Cannot change player side (typo: ''"changle"'') | ||
| {{!}}} | |||
| | [curator, messageInfo] call [[BIS_fnc_showCuratorFeedbackMessage]] | |s1= [curator, messageInfo] call [[BIS_fnc_showCuratorFeedbackMessage]] | ||
| |p1= curator: [[Object]] - ''not used'' | |p1= curator: [[Object]] - ''not used'' | ||
| Line 51: | Line 49: | ||
| |p2= messageInfo: [[Number]] or [[String]] - error ID, or text message to be displayed | |p2= messageInfo: [[Number]] or [[String]] - error ID, or text message to be displayed | ||
| | [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done | ||
| |x1= < | |x1= <sqf>[objNull, 404] call BIS_fnc_showCuratorFeedbackMessage;</sqf> | ||
| |x2= < | |x2= <sqf>[objNull, "You can't do that!"] call BIS_fnc_showCuratorFeedbackMessage;</sqf> | ||
| | [[BIS_fnc_curatorHint]] | |seealso= [[BIS_fnc_curatorHint]] | ||
| }} | }} | ||
Latest revision as of 14:54, 25 March 2023
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:
- Example 2:
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
 
	