Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help box help
#1
hey i was wondering if someone has a function to spawn boxes/care packages at specific locations.... and so they can be destroyed too... i have tryed to use the maker of make em fall v0.9 box function but cant convert to only boxes no traps or uppgrades... so i would appreciate if someone could help me
Reply

#2
C++ Code
  1. SpawnBox(location, angles)
  2. {
  3. test = spawn( "script_model",location );
  4. test setModel("mp_supplydrop_axis");
  5. test.angles = angles;
  6. }
Reply

#3
Quote:and so they can be destroyed too

Dodgy

[Image: 30xhrep.png]

A casual conversation between barata and I about Nukem.
Reply

#4
(09-04-2011, 12:18)master131 Wrote:
Quote:and so they can be destroyed too

Dodgy

Dude he only need to set the health after
Reply

#5
he only needs test destroy();
Reply

#6
hey ok i got the boxes to spawn and i tryed to make its health(make em fall code) but didnt work
Reply

#7
if someone can help me find function for boxes to be damaged that would be awesome
Reply

#8
(09-12-2011, 05:41)Gamemaster20 Wrote: if someone can help me find function for boxes to be damaged that would be awesome

i think only add .health
[Image: ctoc.jpg]
Reply

#9
i did put the .health and didnt do anything
Reply

#10
can i get an example to add the health to the boxes
Reply



Forum Jump:


Users browsing this thread:
6 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.