obnoxious artifact

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

obnoxious artifact

Post by A-Red »

I've got a monster with an artifact that adds a local projectile group to the monster by overriding its monster tag. On my level, I script the monster to receive this artifact...and lo, the lpgr starts up. However, I find I'm unable to remove the artifact later. I've tried Remove Artifact and Switch Artifact to null, and the stupid monster just sits there happily smoking. What can I do?
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

Give it an artifact that has a different projectile group that you can barely see?
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Post by A-Red »

You mean, give a second artifact that re-overrides the first? That doesn't seem to be working either. Shouldn't I be able to just remove the thing?
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

I'm guessing the artifact does get removed. Just the local proj group isn't being cleared.

If that's the case, the only way to clear it, is to give it something else that will replace the local proj group (a unit may only have one at a time...), ... or confuse it... since the stars are also a local proj group...
A-Red
Posts: 771
Joined: Fri Jul 23, 2004 8:36 pm

Post by A-Red »

it's definitely the artifact, not just the lpgr. I set the artifact to render the unit immobile (the replacement monster tag has no terrain passability), and when I try to take the artifact away it still can't move.
User avatar
Pyro
Bug Finder Extraordinaire
Posts: 4751
Joined: Sun Mar 21, 2004 2:14 pm
Location: Texas

Post by Pyro »

Sounds like the map action is either not being triggered or it isn't properly linked to the right unit. Place a debug flag on that map action and run the map. When it gets to the point where the map action is suppose to remove the artifact check the myth_log and if it says nothing from the map action then you know it isn't being activated. And if it is some error it will shed some light to what you may have missed.
Post Reply