PlaceLeveledActorAtMe

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Generates and places a leveled actor reference from an Actor baseform, with the same parameters that are allowed in placing a leveled actor in the editor.

Returns a null form for failure, otherwise returns the newly placed reference.

Syntax

[help]
(placedActor:reference) [locationRefr].PlaceLeveledActorAtMe actor:baseform levelMod:int encounterZoneID:ref

Example

markerref.PlaceLeveledActorAtMe LvlRaider 2

A raider is placed at the marker's location, set to Hard difficulty.

Notes

  • LevelMod values correspond to the Level Modifier dropdown on a leveled actor reference:
    • 0 = Easy
    • 1 = Medium
    • 2 = Hard
    • 3 = Boss
    • 4 = None
  • LevelMod defaults to 4 ("None").
  • If not specified, the Encounter Zone will default to whatever encounter zone the actor is being created in.

See Also