playMaker

Author Topic: Changing Character at Runtime  (Read 1326 times)

gregacuna

  • Full Member
  • ***
  • Posts: 143
Changing Character at Runtime
« on: October 23, 2019, 04:09:04 AM »
Hey All...Creating new platform game using Playmaker and the Corgi Engine. Running into what I'm guessing is a quite basic problem...

Corgi instantiates the Player at runtime, but I want to use Playmaker to do things to the Player...especially changing things on Material applied. When I put the character in the scene I can do what I want with Playmaker, but not on the instantiated version.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Changing Character at Runtime
« Reply #1 on: October 23, 2019, 10:49:23 AM »
Hi.
A instantiated version you can not connect to directly.

Normally when you instantiate using playmaker you can store it directly into a variable to reference.

after instantiated you can use find game object, and store in a variable.
Then you should be able to communicate to/from it.

Maybe this video can help :


gregacuna

  • Full Member
  • ***
  • Posts: 143
Re: Changing Character at Runtime
« Reply #2 on: October 24, 2019, 08:29:45 AM »
Thanks...I'll try that and watch the video. Really appreciate the help.