Mod:Creation Kit/PlaceActorAtMe - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Places a new Actor at this object's location.

Syntax
Actor Function PlaceActorAtMe(ActorBase akActorToPlace, int aiLevelMod = 4,                             EncounterZone akZone = None) native

Parameters

 * akActorToPlace: The ActorBase to base the new actor on.
 * aiLevelMod: The level modifier to use.
 * Must be one of the following:
 * 0: Easy
 * 1: Medium
 * 2: Hard
 * 3: Boss
 * 4: None
 * Default: 4
 * akZone: The EncounterZone to use when placing the new actor.
 * Default: None

Return Value
The new Actor that was just placed.

Examples
MarkerProperty.PlaceActorAtMe(WolfBaseProperty).StartCombat(Game.GetPlayer) MarkerProperty.PlaceActorAtMe(BearBaseProperty, 3)
 * Place a new wolf at this location - and have it attack the player
 * Place a new boss bear at this location