Spawn a model and add sprites to it
How can I spawn randomly on the map a model? I want to spawn a Christmas tree and put some flashing leds ( like the bomb's led) on it. Is it possible?
|
Re: Spawn a model and add sprites to it
yeah ... spawn an entity , with ur tree model ... or create a custom tree model that flashes , and then spawn an entity and animate it
|
Re: Spawn a model and add sprites to it
Quote:
|
Re: Spawn a model and add sprites to it
You can use this include to get random & valid coordinates: http://forums.alliedmods.net/showthread.php?t=132500
And then you just need to create an entity, set its model, etc: http://forums.alliedmods.net/showthr...ghlight=entity |
| All times are GMT -4. The time now is 11:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.