Topic: how can i get a marks index with playmaker

I need to be able to change size of markers by condition so how would i find its index.

Re: how can i get a marks index with playmaker

Hello.

We made a new action, that works for 2D and 3D markers.
Download and import this script into your project.

Post's attachments

Attachment icon GetMarkerIndex.cs 2.01 kb, 299 downloads since 2016-11-12 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: how can i get a marks index with playmaker

Can you make an example of the way to grab the object so I can make the object variable be itself as I know of know way to do that as I can only find game objects, not objects?

Re: how can i get a marks index with playmaker

Unfortunately, I did not understand, an example of what you need.
Please rephrase your message.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: how can i get a marks index with playmaker

I need to be able to set the marker to gets its own index so I can effect itself later in the FMS.

Re: how can i get a marks index with playmaker

When you create a marker, you can store it in a variable (Store Instance, type - Object), and use it later for interaction (in this case for getting index).

Post's attachments

Attachment icon img1.png 105.84 kb, 280 downloads since 2016-11-14 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: how can i get a marks index with playmaker

Looking for something to use during a loop action. That is a very limited way of doing it as you would need a create variable for every marker ever made. Plus that still doesn't let the marker know its own index unless you make the variable a global which is a bad option if you're running a loop on markers.


Need somthing that will seet and get its own index. In its own FMS.

Create marker

On the markers fsm get owner index set index to

Re: how can i get a marks index with playmaker

I'm not saying make a variable for each marker.
I just showed how to use it.

You can get a marker by index.
You can get last active marker.
You can get index by marker (post #2).
You can make a loop. This is just one (or more) conditions.

If you need more, use 3D markers, that look like 2D markers.
In this case, you can add FSM / script to each marker and store the data that you need.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: how can i get a marks index with playmaker

Yeah that works thank you sorry was looking at it totally backwards.