playMaker

Author Topic: Creat object from Random objects (SOLVED)  (Read 1606 times)

Coln1x

  • Playmaker Newbie
  • *
  • Posts: 3
Creat object from Random objects (SOLVED)
« on: February 24, 2014, 08:12:14 AM »
Hello, everyone im new around my name is Bernardo my pleasure.
i am a newbie in coding just to make it even clear heeh :D.

o had the pleasure to try out playmaker and its amazing :D for someone without the knowledge of cod to make something happen, yet there's always something to learn about :D.

so i was trying to spawn an object and i came across Create object using a prefab, still it only creates 1 kinda of object what if i have like 4 or more objects i would like to choose from?

already searched but didnt get anything.


« Last Edit: February 24, 2014, 09:12:54 AM by Coln1x »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Creat object from Random objects
« Reply #1 on: February 24, 2014, 08:27:49 AM »
Welcome =)

You can use the Select Random Game Object action to pick a random one from a list, then put it in a variable, then use Create Object to spawn from that.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Coln1x

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Creat object from Random objects
« Reply #2 on: February 24, 2014, 09:12:27 AM »
knowledge is a bless, worked like a charm :D

thanks a lot.

thumbs up