str8g8 on 13/11/2005 at 23:23
I've created a new class under Key, with 2 new actors inside. When I frob them I get an ugly (null) instead of the InvName ... though the name appears correctly in the Inventory itself.
And second, I want to add one of them to the inventory from a script. I have used Weapons&Inventory > Add [1] [MyKey2] objects to the player inventory, and can't see why it wouldn't work.
Sigh.
str8g8
str8g8 on 16/11/2005 at 13:38
cheers, yeah I found that thread after I posted, the problem was I was making T3-style keys which were object type IT_key. Making T1/2 style keys (which are set up as IT_item) fixed the above problems. Still get a (1) rather than a (Key) text displayed on screen when I pick up the keys, though ... shouldn't it just display the InvName there? But the script is working now that's the main thing ;)
STiFU on 16/11/2005 at 16:26
Hmn it works fine for me... Dont no what that could be... It's actually some time ago i made my keys...
str8g8 on 17/11/2005 at 09:13
With mine the InvName displays fine when you scroll through the keys, it's only when you frob it that the (1) displays. It's not a big problem though ... I can live with it :D