Home   Help Search Login Register  

Author Topic: ground/air trigger?  (Read 769 times)

0 Members and 2 Guests are viewing this topic.

unkie

  • Guest
ground/air trigger?
« on: 31 May 2003, 14:20:55 »
basically i am making a paradrop mission, with all the flak and explosion eyecandy etc, but it creates too much lag when you reach the ground and start fighting.
it looks good and doesnt affect the game much when youre in the air tho, so i waswondering how i would make a trigger/script where i can turn all the eyecandy off when you hit the ground, cos when i try to do it thru trigger it trusn off when youre in the air?

gadolinite

  • Guest
Re:ground/air trigger?
« Reply #1 on: 31 May 2003, 18:05:10 »
do you have scripts running infinite loops?  

how many scripts do you have running?

what is the speed of your processor, quantity of video RAM, and and quantity of RAM?

if you meet any of the following conditions, try simplifing the situation when it comes to instructions.

there is also a benchmark command, which I never needed to use, which might help tackle lag, check the official command reference for more info.

try deleting all tempory internet files, cookies, and temp files (C:\WINDOWS\Temp), remove programs you don't use, delete invalid shortcuts and programs that cause errors or system instability.  Defrag you C: drive after you do this.

after that end all applications but explorer.exe and task manager (if windows XP).  Also what's in that startup menu?
« Last Edit: 31 May 2003, 18:06:39 by gadolinite »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:ground/air trigger?
« Reply #2 on: 31 May 2003, 18:32:46 »
There is a command to check the height of a unit so you could make a trigger but I cant remember how the command goes. :'(

CrashnBurn

  • Guest
Re:ground/air trigger?
« Reply #3 on: 31 May 2003, 19:20:36 »
trigger radius of 0 x 0 and condition-

getpos player select 2 < 3

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:ground/air trigger?
« Reply #4 on: 01 Jun 2003, 00:45:21 »
CrashnBurn is right... in the on activation field of the trigger launch a script which deleteVehicles the stuff you no longer need.
Plenty of reviewed ArmA missions for you to play

unkie

  • Guest
Re:ground/air trigger?
« Reply #5 on: 01 Jun 2003, 02:44:47 »
k, that sounds good guys thanks, but can you deletevehicle a gamelogic?

unkie

  • Guest
Re:ground/air trigger?
« Reply #6 on: 01 Jun 2003, 02:46:15 »
also im running a couple of looped scripts which play random voices..i think this might be responisble for the lag..

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:ground/air trigger?
« Reply #7 on: 01 Jun 2003, 11:51:58 »
As far as I know you can deleteVehicle a GL, just try it and see what happens.

If you're getting lag I've converted one of my posts into a  brief tutorial with a few tips on defeating the lag demon.
Plenty of reviewed ArmA missions for you to play