bsimser / Inventory-Pro

https://devdog.io
MIT License
2 stars 0 forks source link

pick up this item #105

Closed bsimser closed 9 years ago

bsimser commented 9 years ago

Original report by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


2015-09-01 19-27-17 Скриншот экрана.png

in v2.1.1 if the playmaker has created a Triger item then moving to another unit pick up this item worked well and item was in your inventory.

now it's not working

and I'm not working on something dragging

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


I copied from the example playmaker. Works with the Triger but writes full inventory

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


and I don't have the player's main ship is created, then switch on the pilot and on the player in the dimension. It is therefore very difficult choice who to put and as importantly-if they are all in the prefabs generators

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


when you start the project. The menu is thrown off base. And there selection window appears. If you do in the example it works.

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


managed to make. Copied the whole project and was replaced by his players. only one thing remains but. I can't use for example a fuel tank made-if it was used we were able to add only inside the inventory and another can't get the variable. what would she have been spent during the motion of the ship and replenished from inventory

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


2015-09-02 02-33-59 Скриншот экрана.png

in playmaker, you can drag the scripts and get them or transfer data. you can do the same with objects.I tried to search the script adding it to the block. But there is no generated item properties-as I understand it is variable and if you can speak to her then it would simplify the matter. For example, health was taken away from touch with the trigger.

bsimser commented 9 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


I'm sorry I'm not entirely followingi what you're trying to achieve. Could you please add a step by step plan as well as the final result you're trying to achieve? For example ->

  1. Drag ItemCollectionBase script into PlayMaker
  2. Trying to set specific value
  3. (Expected: Expected to set value "itemCollection", but playMaker doesn't allow this).

Cheers, Joris

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


2015-09-02 10-32-50 Скриншот экрана.png check collision 1/ I created a trigger and global variable strength. Which is deducted if the trigger collides with anything. 2/ I need to fill this variable from the inventory by clicking for example on a set of mechanics.2 the same with fuel.There is a variable which gives the movement of the ship until it is. Global-fuel. its 20 000 she is taken away and must be replenished. From the inventory. or if the variable is in the inventory-something like that affect her karnazvezd8.png

to do this, its how we get in playmaker. But without code it to pull from the inventory do not understand. I did not influence this inventory but to give up the object and drag the pictures and pick them up.

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


2015-09-02 10-57-00 Скриншот экрана.png

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


what can be done 1.2015-09-02 11-06-20 Скриншот экрана.png

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


22015-09-02 11-09-47 Скриншот экрана.png

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


2015-09-02 11-14-59 Скриншот экрана.png

this is an example of how drag any script and use its settings and give him some value to a variable or receive it.

bsimser commented 9 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Ah, dragging the script does not work, as it's a complex property that handles events and what not. Therefore it can't directly be set by PlayMaker. I've since created 3 new plyGame actions (Get, Set an Change stat) to allow you to easily change these without th eneed of SetProperty and GetProperty.

These will be available in the next release cycle, which will likely be within 7 days. ( + the asset store validation time )

bsimser commented 9 years ago

Original comment by vinurd neviy (Bitbucket: vinurd, GitHub: vinurd).


OK, wait very. and update just delete the folder or as something different?

bsimser commented 9 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Update will be released roughly in 1 Week.

bsimser commented 6 years ago

Original comment by Joris Huijbregts (Bitbucket: jjahuijbregts, ).


Removing milestone: v2.3 (automated comment)