Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Show a hud when enemy die

Author
Message
GraPix
User Banned
Posted: 17th May 2009 14:20
I want FPSC to show a hud when an entity get destroyed. quiet simple, isn't it?

but, i want different hud by number wise. Like, it will show hud just after your FIRST kill at ANY enemy. then second, third etc.

i think it is possible with heavy scripting. u guys know any other idea or present script?

Thanks

GraPix Entertainment
Leon Kennedy
16
Years of Service
User Offline
Joined: 7th Sep 2008
Location: Neither here nor there
Posted: 17th May 2009 18:58
First, you'd need to use a global variable that is called in every enemy script. Then, whenever that enemies' destroy script is called, you'd need to increase the global variable by 1. Then in a script that you set in a trigger zone, you check to see what the variable is equal to. If it's 1, call the "First Kill" HUD. If it's greate than 1, call the "Enemy killed" hud.

Mods, I think this belongs in the scripting forum. Can you move please?

Priest of the Church of Joe Wood
GraPix
User Banned
Posted: 18th May 2009 06:23
please move to scripting...

GraPix Entertainment

Login to post a reply

Server time is: 2024-10-16 01:32:37
Your offset time is: 2024-10-16 01:32:37