game.getPluginCount

Counts all the plugins in the plugins resource tab of a game.

Prototype

  1. nCount = game.getPluginCount ( hGame )

Description

Counts all the plugins referenced in the plugins tab of a game.


Parameters

hGame - valid Game handle


Return values

nCount - number 0..n


Sample

  1. local nPluginCount = game.getPluginCount ( hGame )

Available since ShiVa 2.0