playMaker

Author Topic: Help need to set a game object bye message(solved)  (Read 1198 times)

Captaincrud

  • Junior Playmaker
  • **
  • Posts: 72
Help need to set a game object bye message(solved)
« on: July 02, 2016, 07:23:52 PM »
So cube A is attacking cube B sends event takedamage

cube B gets event I need it to look up cube A's Damage variable

I have 200 cubes doing this randomly at each other same time so cant just set a global.

(just going use a array)
« Last Edit: July 02, 2016, 08:04:36 PM by Captaincrud »

Zeldag

  • Full Member
  • ***
  • Posts: 198
Re: Help need to set a game object bye message(solved)
« Reply #1 on: July 03, 2016, 06:09:37 AM »
Hi,

 Try to 'Set FSM INT/Float/Variable' : https://hutonggames.fogbugz.com/default.asp?W112 .

So just before you send the message, set the FSM's Int.

1. Cube A hits B .
2. A sends damage INT value to B.
3. A sends event to B

Good luck, hope that helps.