Background for Fallout 4
Member of the ObjectReference script
ActorfunctionPlaceActorAtMe(ActorBaseakActorToPlace, intaiLevelMod=4, EncounterZoneakZone=NONE)Native

Description

Wiki Description

Places a new Actor at this object's location.

Documentation Comment

Create an actor at this object's location. Level mod is one of the following:
0 - Easy
1 - Medium
2 - Hard
3 - Boss
4 - None


Caveats

CK Wiki - Notes

  • For an unknown reason, sometimes the leveled actor spawned with this function will not be aggressive to the player, as if their faction data is missing.

Parameters

ActorBaseakActorToPlace

CK Wiki Description

The ActorBase to base the new actor on.

intaiLevelMod=4

CK Wiki Description

The level modifier to use.

  • Must be one of the following:* 0:Easy

    • 1:Medium
    • 2:Hard
    • 3:Boss
    • 4:None
  • Default:4

EncounterZoneakZone=NONE

CK Wiki Description

The EncounterZone to use when placing the new actor.

  • Default:None

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)

Auto-Generated Example

ActorBase myActorBase__akActorToPlace
int myInt__aiLevelMod
EncounterZone myEncounterZone__akZone

Actor returnedValue = myObjectReference__toCallFunctionOn.PlaceActorAtMe(myActorBase__akActorToPlace, myInt__aiLevelMod, myEncounterZone__akZone)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.