Destroying Doors
Well when destroying a door in The Specialists mod with fakedamage() I used ""fakedamage(entid,"weapon_tsgun",1000.0, 0)"" for some odd reason it won't respawn again! I also tried to set the doors health with entity_set_float(entid,EV_FL_health,-9999.0) but that did not have any effect! So is there any way to destroy the doors with them respawning afterwards?
|
set it to whatever the wood is set to in front of the window near the bank, but with more damage (if you can figure that out)
|
Quote:
|
You might want to take a look at the breakable doors plugin - that might lead you in the right direction.
http://forums.alliedmods.net/showthread.php?t=6597 |
TooL, that plugin is for CS (possibly other mods) where doors can't break by default. It simply moves them to an out-of-place location. In The Specialists, doors can be broken, and they respawn.
As for you, harbu, I'm not sure why they aren't respawning. You could try setting a task and forcing it to spawn again: Code:
|
Ahh thanks man!
|
harbu, why would you need that function anyway?
If its in any relationship to SWAT, STOP STEALING MY IDEAS :D :D :D |
Stealing your ideas ehh? No? Someone suggested on my forums I should make one of those door battering thingys but I decided I want it rahter to explode..
|
I was gonna say instead of removing/destroying the entity, just change it's origin, move it off the screen and then move it back :)
|
lol Geesu ur Hack master #1
|
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.