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

Here we stuff all the bugs we've managed to squash/squish/squelch.
Locked
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

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

Post 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.
Last edited by Xuri on Wed Jun 30, 2004 5:08 pm, edited 1 time in total.
-= Ho Eyo He Hum =-
giwo
Has thanked: 0
Been thanked: 0

Post 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
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Well that would efficiently stop GMs from creating on-the-spur spawners for quests and similar :/ Not good, in my opinion.
-= Ho Eyo He Hum =-
Maarc
Developer
Posts: 576
Joined: Sat Mar 27, 2004 6:22 am
Location: Fleet, UK
Has thanked: 0
Been thanked: 0
Contact:

Post 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!
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Doh...someone please colour me green and put a sign on my forehead saying "noob".
-= Ho Eyo He Hum =-
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Should be a 'tweak entry anyhow....
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Fixed an issue causing the 'tweak entry not to appear when an item did not have a spawnobj entry.
Scott
Locked