Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 7th, 2012  |  syntax: None  |  size: 1.08 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //Bis eld
  2. //Detta måste skapas innan du får någon eld. Görs enklast via init eller en trigger.
  3.  
  4. BIS_Effects_Burn=compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf";
  5.  
  6. // How to use:
  7. //
  8. // unit: the name of the object that the fire will be attached to
  9. //
  10. // intensity: the intensity of the fire. recommended to use values between
  11. // 0.7 and 10, higher values may be used if desired though. (0.7-4 is smoke only)
  12. // OBS! Värden över 4 verkar inte fungera som det ska
  13.  
  14. // time: the time that the fire started. use global variable "time".
  15. // this is used to keep effects synced for JIP players
  16. //
  17. // lifecheck: if this is true then the unit will only burn as long as it is dead (!alive unit).
  18. // set to false to burn things like buildings
  19. //
  20. // fade: if true then the fire will die down over time, eventually dying
  21. // out. set to false if you want it to keep burning.
  22.  
  23. //      handle=[unit,intensity,time,lifecheck,fade] spawn BIS_Effes_Burn
  24.  
  25. // exempel på en eld som brinner hela OPn:
  26. handle=[car1,4,time,false,false] spawn BIS_Effects_Burn