bob1787 0 Posted March 31, 2005 how do you find the "vehicle" name of a unit? e.g. "OfficerE" i know you can unPBO your addon but i tried a surrender script on normal OPF units and it worked but when i tried it on JAM then it didn't work helps mes please ? Share this post Link to post Share on other sites
General Barron 0 Posted March 31, 2005 The readme that came with an addon SHOULD have this information. If it doesn't, then the addonmaker should go spank himself. If you didn't keep your readme's, then you should go spank yourself. Share this post Link to post Share on other sites
UNN 0 Posted March 31, 2005 What General Baron said, but in between spankings. Add this to the init line of the unit your want: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Hint TypeOf This Share this post Link to post Share on other sites
Rommel 2 Posted March 31, 2005 What General Baron said, but in between spankings. Add this to the init line of the unit your want:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Hint TypeOf This Hey cool, that actually works. lol, I had doubts. This makes life easier. Handy Scripts: check units type name: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> Hint TypeOf This check units weapons name: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> hint format["weapons: %1, magazines: %2",weapons this,magazines this] Quote[/b] ]1.75 Comref Share this post Link to post Share on other sites
TA-50 0 Posted April 12, 2005 thanks for the comment Share this post Link to post Share on other sites