Jump to content

Get name of ObjectReference?


SiPlusPlus

Recommended Posts

How come this doesn't work?

Scriptname SitDetection extends Actor Const

Event OnSit(ObjectReference akFurniture)
	Debug.Notification("You are sitting on " + akFurniture.GetBaseObject().GetName())
endEvent

Error is:

SitDetection.psc(4,72): GetName is not a function or does not exist

Thanks :)

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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