|
Post by lifevirus on Jan 30, 2017 0:30:09 GMT
I'm trying to use Playmaker to send the message to a parent to register a respawn child killable (I use playmaker to respawn it after it dies) but every time I try it I get "MissingMethodException: The best match for method RegisterChildKillable has some invalid parameter."
So what parameter (gameobject, string, etc) does this use in playmaker? I'm trying to get this to work but I can't figure out what this part is.
Any help would be amazing.
|
|
|
Post by DarkTonic Dev on Jan 30, 2017 4:31:48 GMT
Regardless of whether you are using Playmaker or not, the parameter for RegisterChildKillable is a Killable component. You can't send a Game Object, you need to get the Killable Component first and send that.
-Brian
|
|
|
Post by lifevirus on Jan 30, 2017 5:07:51 GMT
Thanks for the help actually. I figured out what parameter it was.
Parameter: Object Object: Killable script for the respawning child.
Works perfectly!
Makes a wonderful shield effect. Thanks.
|
|
|
Post by DarkTonic Dev on Jan 30, 2017 5:24:12 GMT
Awesome!
|
|