[ACS] Doors that open when shot with a specific projectile
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.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: [ACS] Doors that open when shot with a specific projecti
I'm about to post it on GitHub, along with the updated Dreadnought rewriting. I'll send it to you then. When I get back to the computer, I'll post the code.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: [ACS] Doors that open when shot with a specific projecti
Sorry, forgot to post this until now. This is the code with the weird results with projectiles from Metroid Dreadnought weapons.
script "PrintProjectile" (void) {
Print(s:"Hit: ");
Print(s:GetActorClass(0));
}
Re: [ACS] Doors that open when shot with a specific projecti
Print will only display for the activator. In this case, the projectile. Use printbold instead.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: [ACS] Doors that open when shot with a specific projecti
... I'll test this... But why does it display for me half the time?jpalomo wrote:Print will only display for the activator. In this case, the projectile.
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: [ACS] Doors that open when shot with a specific projecti
Ok, I've got Spazers and missiles working for it... Still gotta do the Ice Beam, but that's something I've yet to delve into...
- RockstarRaccoon
- Posts: 598
- Joined: Sun Jul 31, 2016 2:43 pm
Re: [ACS] Doors that open when shot with a specific projecti
MISSION COMPLETE.
Will post code and such for replication after fully implementing it in Metroid Doom. Also, expect Metroid Doom's Alpha release this weekend.
Will post code and such for replication after fully implementing it in Metroid Doom. Also, expect Metroid Doom's Alpha release this weekend.