Page 1 of 1

[FIXED] No way to edit SPAWNOBJ tag on items?

Posted: Thu Jun 17, 2004 12:08 am
by Xuri
Apparently there's almost no way to edit the SPAWNOBJ tag/property of items using ingame commands. Though, I did say "almost"... SPAWNOBJ tag appears in the TWEAK menu when 'TWEAKing a spawner-item which has had it's SPAWNOBJ tag added from the DFNs.

I.e. add a spawner-item from the Add-menu, and the tag will show up in the TWEAK menu.

Try to create a new spawner from a random normal item ingame, and no SPAWNOBJ tag appears.

The same goes for SPAWNOBJLIST.

Posted: Thu Jun 17, 2004 4:20 pm
by giwo
I would have to look to be sure, but I think we do not want in-game modification of SpawnObj. That's more of an internal link from an item to its spawner...

Anyhow, I will take a look

Posted: Thu Jun 17, 2004 8:20 pm
by Xuri
Well that would efficiently stop GMs from creating on-the-spur spawners for quests and similar :/ Not good, in my opinion.

Posted: Fri Jun 18, 2004 3:29 am
by Maarc
There is.

TargetMap["SETSPAWNOBJ"] = TargetMapEntry( GM_CMDLEVEL, CMD_TARGETTXT, TARGET_SPAWNOBJ, 1733);
TargetMap["SETSPAWNOBJLIST"]= TargetMapEntry( GM_CMDLEVEL, CMD_TARGETTXT, TARGET_SPAWNOBJLIST, 1734);

Use 'setspawnobj or 'setspawnobjlist to change it. 'setspawnobjlist makes it spawn from an NPC/ITEM list rather than an individual.

Remember everybody.... 'validcmd is your friend!

Posted: Fri Jun 18, 2004 11:40 am
by Xuri
Doh...someone please colour me green and put a sign on my forehead saying "noob".

Posted: Tue Jun 22, 2004 4:18 pm
by giwo
Should be a 'tweak entry anyhow....

Posted: Wed Jun 23, 2004 4:00 pm
by giwo
Fixed an issue causing the 'tweak entry not to appear when an item did not have a spawnobj entry.