playMaker

Author Topic: Collecting resources to fix an item  (Read 2070 times)

Droid3D

  • Playmaker Newbie
  • *
  • Posts: 3
Collecting resources to fix an item
« on: March 11, 2022, 04:33:41 AM »
Hello all,
I need my actor to collect resources from a specific source and then use these resources to fix another item. I was trying to search in the actions but I will appreciate any tip on which ones I need to build my FSM's.
Thank you!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Collecting resources to fix an item
« Reply #1 on: March 11, 2022, 08:54:48 AM »
Hi.
Can you give a bit more detail

Droid3D

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Collecting resources to fix an item
« Reply #2 on: March 14, 2022, 08:06:11 AM »
Sure! Basically, I need my player to go and collect iron, which will be used to repair a broken machine. There is a pile of rubble from where the player can get the resource from.
Or, described in steps:

1. Player interacts with machine. Dialogue appears "you need 10 units of iron to repair this machine"

2.Player approaches pile of rubber. Collects iron.

3. Player returns to machine with the collected iron and fixes it.

I hope that helps. Thanks!

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: Collecting resources to fix an item
« Reply #3 on: March 16, 2022, 08:29:00 PM »

Droid3D

  • Playmaker Newbie
  • *
  • Posts: 3