Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Internal names of unit types.
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Internal names of unit types. (Read 560 times)
0 Members and 1 Guest are viewing this topic.
Kinnon
Guest
Internal names of unit types.
«
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
Logged
Hawkins
Former Staff
Team 2-2
Re:Internal names of unit types.
«
Reply #1 on:
10 Apr 2003, 17:34:07 »
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...
Hawkins
Logged
Kinnon
Guest
Re:Internal names of unit types.
«
Reply #2 on:
10 Apr 2003, 21:48:44 »
Thanks Hawkins, my comref version doesn't seem to have them
Logged
LCD
Former Staff
Re:Internal names of unit types.
«
Reply #3 on:
10 Apr 2003, 22:09:06 »
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
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Kinnon
Guest
Re:Internal names of unit types.
«
Reply #4 on:
11 Apr 2003, 15:12:15 »
LCD u r Wikkid !
;+}
Typeof wasnt in my comref but its in the readme of 1.91 update ...
Logged
LCD
Former Staff
Re:Internal names of unit types.
«
Reply #5 on:
11 Apr 2003, 15:35:29 »
lol
check da online comref on da ED ;D
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Internal names of unit types.
Top of page