OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kinnon on 10 Apr 2003, 15:16:28
-
Lo all :)
Can anyone tell me how to get at the internal name of a unit type?
If a unit 'knowsAbout' Tanks, Cars, Men etc ... can i somehow find out which kind of tank or soldier ?
thx
-
You mean these:
SoldierWMG
???
I mean like the same string values you use when you use createUnit for example. These values are all listed in the official comref. ;)
I'm not sure what you're meaning tho... But I thought it might be these...:P
Hawkins
-
Thanks Hawkins, my comref version doesn't seem to have them :(
-
use typeof command 2 get em ;D
put M1A1 nd name it obj
now make radio triger w/ d next line on activision
hint format ["%1",typeof obj]
wen u pres on da radio now - u wil get da type of M1A1 ;D - do da same thing 2 oder units
LCD OUT
-
LCD u r Wikkid !
;+}
Typeof wasnt in my comref but its in the readme of 1.91 update ...
-
lol
check da online comref on da ED ;D
LCD OUT