09-22-2011, 15:41
maybe at first set .maxhealth
and then the current health so for example:
and then the current health so for example:
Code:
box.maxhealth = 100;
box.health = 100;
Help box help
|
09-22-2011, 15:41
maybe at first set .maxhealth
and then the current health so for example: Code: box.maxhealth = 100;
09-22-2011, 23:32
Code: createBlock( location, angle ) ...? (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
09-24-2011, 22:09
(08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
09-24-2011, 22:09
(09-24-2011, 22:09)iAegle Wrote:(09-24-2011, 21:56)Tomsen1410 Wrote: But it should work without that or not? block SetCanDamage( true )
09-24-2011, 22:10
(09-24-2011, 22:09)Tomsen1410 Wrote:(09-24-2011, 22:09)iAegle Wrote:(09-24-2011, 21:56)Tomsen1410 Wrote: But it should work without that or not? If you want them to be destroyed .. then no it wont work without (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
09-26-2011, 04:50
(09-24-2011, 17:20)iAegle Wrote: ok os i put createBlock(origin, angle) { block = spawnstruct(); block.location = origin; block SetOwner( level ); block.angle = angle; block.maxhealth = 175; block.health = 175; block SetCanDamage(true); return block; } and its not working....
09-26-2011, 17:52
just make that what iAgle wrote...
dont "return" anything and dont change anything
09-26-2011, 17:53
(09-26-2011, 04:50)Gamemaster20 Wrote:(09-24-2011, 17:20)iAegle Wrote: Dude, its a fucking spawnStruct ofcourse its not working (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu |
Users browsing this thread: |
2 Guest(s) |