Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.7

Description

Description:Returns a general classification for an object.

This can be:

  • "AIRPLANE" - Any airplane.
  • "HELICOPTER" - Any helicopter.
  • "SHIP" - Any ship.
  • "CAR" - Any car.
  • "HOVERCRAFT" - Any hovercraft.
  • "MOTORCYCLE" - Any motorcycle.
  • "TANK" - Any tank.
  • "THING" - Certain small objects (for example, traffic cones).
  • "UNIT" - Any character unit.
  • "PARTICLE" - Any particle (for example, smoke particle).
  • "BUILDING" - Any building.
  • "MISSILE" - Any missile.
  • "GRENADE" - Any grenade.
  • "MINE" - Any mine.
  • "SHOT" - Any shot projectile.
  • "PARACHUTE" - Any parachute.
  • "PARAGLIDE" - Any paraglider.
  • "CRATER" - Any crater.
  • "BRIDGE" - Any bridge.
  • "ROAD" - Any road.
  • "TREEHARD", "TREESOFT", "BUSHHARD", "BUSHSOFT" - Various vegetation (trees and bushes).
  • "OBJECT" - The most fundamental entity in VBS.
  • "FLAG" - A flag object.
  • "VASILIGHT" - The Visual Approach Slope Indicator (VASI) lights of the runway.
  • "FIREPLACE" - An object with fire effect.

Syntax

Syntax: objectType object
Parameters:
  • object: Object - Object to check.
Return Value:String - See the list in the description.

Examples

Examples:
_type = objectType player

Additional Information

See also: fn vbs isKindOf
Multiplayer: 
Problems: 

Notes