Light on func_targer model entity
Hello. For the info_target entity, how can I make the model to be brighter ?
I mean that after the task is executed, the model should be brighter than it was before. The entity uses a variable ent_info_target so it should look for that 1 and set the light. Code:
entity_set_model(ent_info_target, model_path)Thanks ! |
Re: Light on func_targer model entity
1 Attachment(s)
Not sure if this will help, but here u go:
Code:
|
Re: Light on func_targer model entity
Quote:
|
Re: Light on func_targer model entity
Quote:
What it does now is that it shows white colors brighted 100% for a few secs, they dissapear and appear on other places. It should light every single info_target entity constantly and u should see the entity not a white background image. Also i don't want the image color to glow, i want it to be static. |
Re: Light on func_targer model entity
Quote:
|
Re: Light on func_targer model entity
Quote:
|
Re: Light on func_targer model entity
Quote:
|
Re: Light on func_targer model entity
Is iIDEnt declared in the loop? No.
|
Re: Light on func_targer model entity
Quote:
|
Re: Light on func_targer model entity
You're misunderstanding the purpose of "static". It means just that unlike 'new', the variable is not initialized and the value will remain after the function is executed.
You don't need that in the current context. You can read the Pawn Language Guide about static local declaration http://i.imgur.com/WtEweoo.png: |
| All times are GMT -4. The time now is 20:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.