AddForm - LeveledItem

Revision as of 19:32, 8 June 2012 by imported>JustinOther (Removed GetGameLoaded as v1.6+ fixes the bug.)

Member of: LeveledItem Script

Adds the given form to the leveled list.

Syntax

Function AddForm(Form apForm, int auiLevel, int auiCount) native

Parameters

  • apForm: Form to add to the leveled list
  • auiLevel: Level to add form under
  • auiCount: Number of items to add

Return Value

None.

Examples

; Add 2 axes to the list at level 5
CoolItems.AddForm(Axe, 5, 2)

See Also