Jump to content

How can a Robot tell it is in the Robot Workbench?


PJMail

Recommended Posts

What about Condition IsInFurnitureState?

Looks handy to detect leaning now that GetSitting appears to fail indeed in such case, but condition seems to only exist on paper, i.e. in wiki, (similar to others not marked as obsolete, hm..). Can't find neither in CK, nor XEdit, maybe has new and not obvious name in Fallout?

 

 

Link to comment
Share on other sites

There's many mysteries still it seems, disappeared conditions and working obsoletes along. By the way, there may be Animation Graph Variables for lean or lay. For example, checking for some vars by GetGraphVariable seems be only reliable way to detect jumping (at least in my experience of banging head against the wall), while none of dedicated conditions provide usable or stable results.

Edited by hereami
Link to comment
Share on other sites

I did not try that as I know of no way to find out what Variables a given animation sets/uses.

I have dumped animations out via the command line tools (I use that to find events) but have not had much luck trying to find the variables.

Link to comment
Share on other sites

That was a rough thought, probably inapplicable since that's not part of core actions perhaps. Well, another one then... GetCurrentAIProcedure. I've finally found the list and maybe SITTING could fit, npc life consists of nothing but procedures i guess and Sitting is very generalized concept. The list just in case https://geckwiki.com/index.php?title=GetCurrentAIProcedure , yet to confirm if still up to date though. Wouldn't be applicable to player as i wanted (ehm..., what are we actualy speaking about?..).

By the way, robot in workbench may perform something unusual like DO_NOTHING, or can be Restrained, there's a condition GetRestrained() for that. Why not just check for player using robot workbench instead of all that?

Link to comment
Share on other sites

Why not just check for player using robot workbench instead of all that?

I was trying not to edit existing assets (WorkbenchRobot), and I was unsure what event signals the player exiting the Workbench (if any).

The error I was fixing seemed rare so I also didn't want to burden users by running a check on every use of the Robot Workbench.

 

However, perhaps I should look into it and offer it as an option... Thanks for reminding me.

Edited by PJMail
Link to comment
Share on other sites

  • Recently Browsing   0 members

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