OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: crisbal on 18 Apr 2011, 13:01:31
-
How can I know the scripting name of the BAS "AN/PQ-1" Laser Designator ? ...I can't find it anywhere. ¿Someone got it?? Thanks
-
BAS_soflam - the same for weapons and magazines.
-
Hi crisbal,
whenever you want to know the correct name of a weapon, try this:
Create a trigger, activation Radio Alpha, repeatedly, on activation:
pweapons=weapons player; hint format ["%1", pweapons];
That way, all weapons (rifle, pistol, bino, nvg, laser designator) will be displayed with their exact names.
And before you ask, yes, the very same can be done with magazines:
pmagazines=magazines player; hint format ["%1", pmagazines];
Huh, is there a way in OFP to get weapon names directly out of the game and into a script? I mean, in ArmA 2 they introduced this nice command, copytoclipboard. I wonder how to do it in this old game here?
Anyway, I hope this helps.
Regards,
mr_book