Jump to content

Mod Scripting Issues with PlaceAtMe


hertznca

Recommended Posts

Hey, I am trying to script an XMarker to use this code upon activation of a triggerbox. However, upon compiling this script

 

Scriptname _Summon extends ObjectReference

ObjectReference Property MarkerPlace  Auto


Event OnActivate(ObjectReference MarkerPlace)

  MarkerPlace.PlaceActorAtMe(Game.GetForm(0x00014147))

EndEvent

 

I get the error: type mismatch on parameter 1 (did you forget a cast?)

the error is targeted at the line with MarkerPlace.Place ...

 

I think its an error in the beginning of the script (missing library-esque thing?)

Any suggestion appreciated

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...