playMaker

Author Topic: How do you generate Prefabs in a grid?  (Read 1748 times)

SlowMoe

  • Playmaker Newbie
  • *
  • Posts: 2
How do you generate Prefabs in a grid?
« on: October 08, 2014, 01:29:12 AM »
So, I have the Grid Framework asset and I love it. I can't for the life of me, figure out how to instantiate a prefab in each face. I don't have problems doing it in C# because you instantiate prefabs in a for loop. How is that done in Playmaker?

Thank you in advance!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How do you generate Prefabs in a grid?
« Reply #1 on: October 08, 2014, 01:35:30 PM »
I haven't used it. Does it have PlayMaker actions?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

SlowMoe

  • Playmaker Newbie
  • *
  • Posts: 2
Re: How do you generate Prefabs in a grid?
« Reply #2 on: October 09, 2014, 11:33:17 AM »
It does and I actually figured it out. I have the Shumup asset which has a very simple pooling FSM. It clearly illustrates how to generate a set of prefabs. If anyone is curious and happened to stumble upon this thread, let me know. Basically, you do an int compare and create object till it hits a condition.

Thank you for replying!
« Last Edit: October 09, 2014, 11:40:39 AM by SlowMoe »