Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

[885] Scripted items can't be picked up by the sword

4 replies · 1,458 views · Started 30 November 2008

This is because script-created items are the same as special items in that they don't disappear. You can't collect those kinds of items with the sword. Additionally, the hitbox for them is wrong. Either way, this is a bug as well as a limitation, as I don't know of a script command that will let you tell the game to make a normal (disappearing) item.

Hrm...

D'yuthink we might be able to have the option to set them to be perishables then?
Give them a DeadState variable simmilar to weapons maybe?

So, say, they're spawned with DeadState 0 by default, making them a special screen item, then if you set them to a DeadState value > 0, they become perishables that last for that many frames?

Dunno if that'd be possible, but it is a bit of an oversight.

Ah, thanks =)

EDIT:
When you change an item into a generic sprite with IP_DUMMY, it still dissapears from the screen when you pick up the screen's special item.
I'd assume this is undesirable.