Freeform discussion about anything related to modding Transcendence.
- Militia Captain
- Posts: 512
- Joined: Tue Nov 05, 2013 9:56 am
Despite trying many different ways I can't seem to get
Code: Select all
(itmGetName whicheverAuton 'actual)
to return the actual name of an unidentified auton, eg 'TX3 eplorer auton'.
All it will do is return "auton with squiggly markings" or similar.
It works if the auton is already identified.
The same code works with cubes, ROMs and shields.
Anyone got time to double-check this or let me know what I need to do different?
Last edited by relanat
on Mon Nov 20, 2017 11:41 pm, edited 1 time in total.
- Militia Commander
- Posts: 434
- Joined: Tue Mar 05, 2013 8:26 am
This is a consequence of the <GetName> event I added to the auton item base class recently. Unfortunately, there doesn't currently seem to be any way to write this event so it respects certain flags passed to (itmGetName). I've opened a Ministry ticket
. In the mean time, you can use '(actual noEvent) to get the default actual name of the base item. It just won't include the player-set auton name, if any.