playMaker

Author Topic: Remove or rethink [RequiredComponent]  (Read 2964 times)

dasbin

  • Junior Playmaker
  • **
  • Posts: 92
Remove or rethink [RequiredComponent]
« on: November 21, 2012, 02:23:32 PM »
Hi,

Since it is possible to add / remove components within a state, it no longer makes much sense to have any of the actions require a particular component on initialization. I find myself having to edit dozens of the built-in Actions to remove this requirement, but I feel there must be a more elegant solution. Perhaps it is time to rethink how this works in Playmaker? Could they look in previous states instead, for a suitable AddComponent or similar, before throwing an error?
« Last Edit: November 21, 2012, 02:45:58 PM by dasbin »

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: Remove or rethink [RequiredComponent]
« Reply #1 on: November 21, 2012, 06:13:31 PM »
You can go into Preferences > Error Checker and disable Check for Required Components.

But I agree there's some room for improvement here...
« Last Edit: November 21, 2012, 06:51:48 PM by Alex Chouls »