Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

Kodak

Member
  • Content Count

    6
  • Joined

  • Last visited

    Never
  • Medals

Everything posted by Kodak

  1. Hi, There doesn't seem to be any function similar to sqrt() to calculate the cube root of a number. If so, how can I calculate the cube root mathematically?
  2. Kodak

    Cube root?

    Ahh! Can you say: "I feel stupid!".... I can! Thanks a lot!
  3. Hi everyone, I have a simple question. Is it possible to add a hide body -function via scripting for a soldier who normally does not have that ability, without editing the .cpp file of the model?
  4. Thank you, gentlemen! The combined efforts of Dschulle and Spitfire have resulted in exactly what I was after! You fellas are great!
  5. That sounds like a sensible solution. However, I'm not sure how to use nearestObject to detect whether or not the object is a man. I know that nearestObject works like this: nearestObject [player, "object"] But what to put in the "object" -field? Do I really have to specify all types of enemy soldiers (Spetznaz, Grenadier, Sniper etc...) an make a trigger for all of them or can I put something generic like a "man" in the object-field?
  6. Thanks for the reply. Oh, well. I guess I'll just have include an edited version of the unit I wish to have the ability in my mission
×