Home   Help Search Login Register  

Author Topic: Getting A Vehicle To Come Pick You Up If You Radio.  (Read 540 times)

0 Members and 2 Guests are viewing this topic.

Alex

  • Guest
Getting A Vehicle To Come Pick You Up If You Radio.
« on: 05 Sep 2004, 00:07:08 »
Hey All, How Do You Do That ^^^^^^

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #1 on: 05 Sep 2004, 00:11:15 »
this script

Code: [Select]
_veh = _this select 0
_veh domove getpos player
@ _veh distance player < 10
dostop _veh
@ player in _veh

make radio triger and call that script like that

[vehicleName] exec "scriptname.sqs"

btw... the script is not finished cuz i didnt write what its doing after picking u :P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Alex

  • Guest
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #2 on: 05 Sep 2004, 00:15:04 »
Sorry What Am I Talking About..... I Wan't Him To Come To My Current Location And Get Out So I Can Get In.....

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #3 on: 05 Sep 2004, 00:18:12 »
whos him :P

lol ok ur new script will look like

Code: [Select]
_veh = _this select 0
_veh domove getpos player
@ _veh distance player < 10
_driver = driver _veh
unassignvehicle _driver
[_driver] ordergetin false

exit

u still didnt tell me what u wanna do with "him" after "Him gets out :moon: in this case he will just stay in place ::)

and btw he will come to the place u called the radio from... so if u move it wont work (unless u want it that way ?)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Alex

  • Guest
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #4 on: 05 Sep 2004, 09:03:18 »
It Has An Error Type Object Expected Array Error....

Offline MachoMan

  • Honoured
  • Former Staff
  • ****
  • KISS, Keep it Simple Stupid
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #5 on: 05 Sep 2004, 10:53:12 »
Dude go read a Tutorial.

Nah ok I'll be nice, u are probably not calling the script properly
You do:
Code: [Select]
dude exec name.sqs

where it should be:
Code: [Select]
[dude] exec name.sqs

 

Get those missions out there you morons!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #6 on: 05 Sep 2004, 10:55:02 »
In which line of code?   When did the error occur?   What happened in the game when the eror occurred?   Etc.


Plenty of reviewed ArmA missions for you to play

Alex

  • Guest
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #7 on: 05 Sep 2004, 10:55:02 »
Thanks....

Alex

  • Guest
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #8 on: 05 Sep 2004, 11:09:50 »
The Pickup Car Needs To Be Named "Veh" Right?......

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Getting A Vehicle To Come Pick You Up If You Radio.
« Reply #9 on: 05 Sep 2004, 11:29:33 »
No, not nessecarily. Go read SnYpirs introduction to code Snippets. It has that and a lot other usefull stuff in it. :)

:beat: *Gets Shot* :beat:
« Last Edit: 05 Sep 2004, 11:30:38 by The Real Armstrong »