Jump to content
Sign in to follow this  
R34P3R

get uniform name form placed object ?

Recommended Posts

Hey Guys.

I have a llittle problem here.

I have placed a uniform in the editor and namend it: uniform_p2

now i need to add this uniform to a unit but i cant get the calssName right.

vehicle uniform_p2 = will return uniform_p2

typeOf uniform_p2 = will return "Vest_V_PlateCarrier_Kerry" <-- but i need the String without "Vest_" to add it.

the same problem i also have with placed Vests, Headgears and Weapons.

typeOf "ground_weapon" will return: "Weapon_arifle_MX_GL_F" <--- "arifle_MX_GL_F" will be right

Thanks for help !

Share this post


Link to post
Share on other sites

Thanks Kollzone. But where i need to use select ? TypeOf will return a String. Can i use select on strings ?

---------- Post added at 04:45 PM ---------- Previous post was at 04:43 PM ----------

Killzone... dont know how to edit on Smartphone ;-)

---------- Post added at 04:50 PM ---------- Previous post was at 04:45 PM ----------

Edit. Found the way in the wiki. Thanks

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×