Home   Help Search Login Register  

Author Topic: Finding Weapon Names  (Read 424 times)

0 Members and 1 Guest are viewing this topic.

Einstein87

  • Guest
Finding Weapon Names
« on: 01 Apr 2004, 11:21:26 »
hi all

I'm trying to get a non-official addon (namely VIT's Harrier) to fire a Maverick at a target when it hits a trigger. However, I don't know exactly where to look in the config file of the addon to find the weapon's name. Which names do I need to look for?

sa8gecko

  • Guest
Re:Finding Weapon Names
« Reply #1 on: 01 Apr 2004, 11:32:43 »
You could add a fired eventhandler to the plane, putting the line
below in its Initialization field:
Quote
this addEventHandler ["fired", {hint format ["%1", _this]}]
this way you will have returned all information you should need
without opening the .pbo
« Last Edit: 01 Apr 2004, 11:33:23 by sa8gecko »