Forum rules - please read before posting.

Custom condition action

Is it possible to create custom boolean action?
What I want do is check if player clicked or is dragging and have different action for each.

Best regards
Zuffy

Comments

  • If a custom Action derives from ActionCheck, it will have two ouputs, and you can override the CheckCondition function to determine which is run after. See the included ActionCheckTemplate script for a template, or ActionObjectCheck for an example.

    If you're looking to react to Player input, though, an Action likely isn't the best way to do so - and you'd be better of with a custom script that reads input inside a standard Update function. Depending on the result, you can then run an ActionList manually by calling its Interact function.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.