Home   Help Search Login Register  

Author Topic: GTA: Everon  (Read 579 times)

0 Members and 1 Guest are viewing this topic.

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
GTA: Everon
« on: 09 Feb 2004, 02:18:29 »
wev got GTA I, GTA II, GTA III, GTA Vice City, and now wev got GTA: Everon

at least, if i can get sum :help: on this prob

im tryin 2 create a trigg that gives you x ammount of moolah when you boost a car. ( i didn't want to use a script because it would have 2 run the whole mission, and cause a bunch o lag

anyone know how 2 use either? if its good, i just might use a script

does it hav 2 du with if (player in _x), then myCash = myCash + 100?

thanx && cheers
Tyger
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

j-man

  • Guest
Re:GTA: Everon
« Reply #1 on: 09 Feb 2004, 03:50:37 »
Creating one small script that runs the entire mission wouldn't cause that much lag. Just create a script, call it "money.sqs" and in it, put
Code: [Select]
money = 0
Then create a trigger covering the entire map, activated by anyone and is set to repeat.

Then in its on activation box, type
Code: [Select]
[] exec "money.sqs"

To add money when you boost a car, just create a trigger and in its Condition field, type

Code: [Select]
vehicle player != player
then type in its On activations field

Code: [Select]
money = money + 100
Remember to set the trigger to repeating ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:GTA: Everon
« Reply #2 on: 09 Feb 2004, 12:25:13 »
If a script is running throughout the whole mission then it must be on a loop:    whether it will cause any lag then largely depends on the speed of the loop.   If the delay is say two seconds

~2

then it won't cause any lag.
Plenty of reviewed ArmA missions for you to play

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:GTA: Everon
« Reply #3 on: 09 Feb 2004, 13:59:54 »
good! ill just add a loop 2 it, an ill have a good start on my illegal copy of GTA ;D

Cheers :cheers:

Tyger
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08