playMaker

Author Topic: TRIGGER ENTER / EXIT  (Read 4019 times)

MeachWare

  • Playmaker Newbie
  • *
  • Posts: 43
TRIGGER ENTER / EXIT
« on: February 11, 2014, 09:47:18 AM »
Store Collider seems to be broken. If I choose to use the "store" function and set it to my GO variable, when I reference that saved variable it is empty. The "fix" (Thank you Lane!) is to use the "Get Trigger Info" and set my GO variable and that works.

Am I not understanding the purpose of "Store Collider"; is it broken; and should I submit a bug report?

Thanks

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: TRIGGER ENTER / EXIT
« Reply #1 on: February 11, 2014, 12:56:55 PM »
Hi,

 Where did you get "store collider" from, it's not an official action.

bye,

 Jean

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: TRIGGER ENTER / EXIT
« Reply #2 on: February 11, 2014, 12:59:54 PM »
Hi,

 Where did you get "store collider" from, it's not an official action.

bye,

 Jean

I think it is in reference to this:
http://hutonggames.com/playmakerforum/index.php?topic=6298.msg30601#msg30601
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: TRIGGER ENTER / EXIT
« Reply #3 on: February 11, 2014, 01:02:35 PM »
Hi,

 you wrote that action? is it working for you Lane?

bye,

 Jean

MeachWare

  • Playmaker Newbie
  • *
  • Posts: 43
Re: TRIGGER ENTER / EXIT
« Reply #4 on: February 11, 2014, 01:08:34 PM »
Okay, sorry - I thought that was one of the PlayMaker System events; at least that's where I grabbed it from.



Sounds like I need to start over on a clean project.
« Last Edit: February 11, 2014, 01:11:52 PM by MeachWare »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: TRIGGER ENTER / EXIT
« Reply #5 on: February 11, 2014, 01:16:48 PM »
Hi,

 you wrote that action? is it working for you Lane?

bye,

 Jean

He was using the Trigger Event action but it was not storing the game object as he specified. Adding a Get Trigger Info action afterwards fixed the problem. I didn't look into if it was a bug or some simple sequence/timing error.

Maybe its sending the event before it stores?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: TRIGGER ENTER / EXIT
« Reply #6 on: February 11, 2014, 01:20:36 PM »
Hi,

 possibly. Or maybe another trigger is setting the static variable if you access the collider info to late. usually you should process the collision info as the first thing upeon reception of a TRIGGER XXX and COLLIDER XXX  event.

bye,

 Jean

MeachWare

  • Playmaker Newbie
  • *
  • Posts: 43
Re: TRIGGER ENTER / EXIT
« Reply #7 on: February 11, 2014, 02:08:10 PM »
Hi,

 possibly. Or maybe another trigger is setting the static variable if you access the collider info to late. usually you should process the collision info as the first thing upeon reception of a TRIGGER XXX and COLLIDER XXX  event.

bye,

 Jean
so which is it?
* Am I not understanding the purpose of "Store Collider"?
* Is it broken?

and should I submit a bug report?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: TRIGGER ENTER / EXIT
« Reply #8 on: February 11, 2014, 02:10:01 PM »
I'll look into it tomorrow.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D