Jump to content

(SOLVED) Papyrus - Check for keyword on Actor using string variable


trepleen

Recommended Posts

Actors can have keywords associated to them.

 

The question is how can you check for the keyword at the most basic level?

 

ACTOR BILLY

keywords: "billytheactor", "soldierofvhfaction"

 

Papyrus

 

;how can we just use a simple ****ng string?!

if akspeaker.haskeyword("billytheactor")

debug.messagebox("we're speaking to billy the actor!")

endif

 

There has to be a way to simply check an actor for keywords by passing a string or something similar.

 

SKSE has a GetName() function that I'll probably end up using if I can't figure this out.

 

Basically I need to modify SOS's script so it stops schlongifying everyone and instead checks each actor for a keyword or something that can be added to exclude that actor from being schlonged.

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use