PlaceActorAtMe - ObjectReference

Revision as of 14:42, 14 October 2014 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: 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

; Place a new wolf at this location - and have it attack the player
MarkerProperty.PlaceActorAtMe(WolfBaseProperty).StartCombat(Game.GetPlayer())


; Place a new boss bear at this location
MarkerProperty.PlaceActorAtMe(BearBaseProperty, 3)

See Also