Author Topic: UnitId In registerEvent  (Read 1674 times)

MoLAoS

  • Ornithopter
  • *****
  • Posts: 433
    • View Profile
UnitId In registerEvent
« on: 3 May 2012, 15:35:34 »
...
« Last Edit: 22 June 2012, 04:05:49 by MoLAoS »

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: UnitId In registerEvent
« Reply #1 on: 14 May 2012, 20:47:06 »
Not entirely sure I follow what you are trying to do, but the unit that triggered the event has its id passed to the handler, if using an XML embedded handler, the param is called unit_id.

Glest Advanced Engine - Code Monkey

Timeline | Downloads

Bloodwurm

  • Guest
Re: UnitId In registerEvent
« Reply #2 on: 15 May 2012, 13:59:38 »
People have lives, and don't necessarily have time to check forums every 5 minutes... A bit of respect please...

Bloodwurm

  • Guest
Re: UnitId In registerEvent
« Reply #3 on: 15 May 2012, 16:00:14 »
Then please state so. Don't start "laughing" because it took two weeks for someone to answer....