ShowInfo

Category: Objects / Menu
Since engine version: 4.6.5.0 CP

Description

Displays the description text of an object in a popup window (a menu window).

Syntax

bool ShowInfo (object pObject);

Parameter

pObject:
[opt] Object for which to display information. If unspecified, the calling object will be used.

Remark

The information window's background will be the definition image of the obect.

Example

protected func ControlSpecial()
  {
  ShowInfo(Contents());
  return(1);
  }
A feature for a special clonk: pressing the 'special' key will display the description of the first inventory item in a popup window. If the clonk does not carry any objects, the clonk's own description will be displayed.
See also: AddMenuItem, CloseMenu, CreateMenu, GetDesc, SetCommand
Sven2, August 2002