Jump to content

[LE] Interactables' not working.


wilwhitt56

Recommended Posts

Having some issue with something. I'm trying to make interactable activators that say a brief message and some of them don't work. Example: I'm trying to make one that's a book. Everything is set up right, but when I go in a new game the activator doesn't show. Is there a way to make a book activate? Or do I need to find something else to use like a scroll or a piece of paper?

Link to comment
Share on other sites

Having some issue with something. I'm trying to make interactable activators that say a brief message and some of them don't work. Example: I'm trying to make one that's a book. Everything is set up right, but when I go in a new game the activator doesn't show. Is there a way to make a book activate? Or do I need to find something else to use like a scroll or a piece of paper?

This is the script I use. Can anyone see something wrong with it?

Scriptname CGBloodbucketScript extends ObjectReference
Message Property Message Auto
Event OnActivate(ObjectReference akActionRef)
EndEvent
The activators work on some things, but other times don't work at all. The name will pop up, but it won't show the message when clicked.
Link to comment
Share on other sites

The book is listed in the activator category in the CK?

Sometimes activators can be funky if they are at 0-degree angles. Add 1 degree to each of the angles for the activator.

 

There is nothing between the Event and the EndEvent lines.

Put something there like MyMessage.Show()

For trouble shooting use a bunch of Debug.MessageBox("I've been activated") or similar lines throughout your script to see where it fails.

 

I don't think you can have a message named "message". Try something like Message Property MyMessage Auto.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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