GHOST
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
The GHOST flag is actually used on both the projectile and the enemy. Any projectile with the GHOST flag set will pass right through any enemy with the GHOST flag set, as if it wasn't there. Add the flag to your rockets and your monster, and try it for yourself. 
Not sure if it works on hitscans, though... does putting it on a weapon have the same effect? Might be worth a look-see.

Not sure if it works on hitscans, though... does putting it on a weapon have the same effect? Might be worth a look-see.
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
- Burning5eraphim
- Posts: 32
- Joined: Sat May 13, 2006 10:57 pm
- Location: The cancerous eden.
- Burning5eraphim
- Posts: 32
- Joined: Sat May 13, 2006 10:57 pm
- Location: The cancerous eden.
Considering my question is already answered, and it was revolving around DECORATE, I don't think there's anything wrong going away from the original topic.
I'm experiencing a funny problem with my DECORATE lump. I put this in:
I'm experiencing a funny problem with my DECORATE lump. I put this in:
Spoiler:But they'll tell me line 28 is messed up cause the sprite names are longer than 4 characters. I removed line 28 to see what happens, but the line 29 that replaces 28 gives the same error.
Change this linetoThe BRIGHT keyword is supposed to come before the action function. What is happening with how you have put it afterwards makes the parser think that the BRIGHT is the sprite name of a new frame, but BRIGHT is clearly more than 4 characters long. Hence, the error.
Code: Select all
SHTF A 2 A_FireBullets(5.6, 0, 7, 5, "BulletPuff") bright
Code: Select all
SHTF A 2 bright A_FireBullets(5.6, 0, 7, 5, "BulletPuff")