Home   Help Search Login Register  

Author Topic: Some questions... which i'm hoping someone can answer.  (Read 628 times)

0 Members and 2 Guests are viewing this topic.

HotShot

  • Guest
1.Is their a condition feild for if a player is Playing as that person in MP?

I want to make it so that a group will only appear if someones playing as the leader of that group/squad. I dont care if it only makes a squad if a player is playing as the leader, or if it destroys the group if they're not, makes no difference.

2.What do i type so you automatically give out your current location? I want to make it so when i activate Alpha Radio a guy says:

Alpha Black One: "Need fire support at XXXX. Out"

Now i can get the radio words fine (using XX sidechat "Blablabla"), but i dont know what it is so the location of the unit talking is?

3.Is their anyway so that the Radio Commands (like Alpha, Bravo, etc) are only available to one unit or group? And if this is possible then another unit can use Alpah Radio etc, but it will have a different effect then if another unit used Alpah Radio?

EG.

A soldier uses the Radio Alpha Command and says  
Alpha Black One: "Go to hell!"

But then a plane or such uses Alpha Radio but syas something different like   Bravo Black One: "And your mumma dude."

4.When Alpha Radio (or any Radio Command) is activated a marker appears at where the unit that sent the command is. How do i do this if its possible.


Note that these will be used in MP mainly, it just saves alot of time typing where you are (note question 2), because then you can just press 0-0-1 or something instead of having to type what you wnat to say.

Hopefully you'll have an idea as to what i'm on about  :-\

If you can help with any of these it would be much appretiated.

Knut Erik

  • Guest
Re:Some questions... which i'm hoping someone can answer.
« Reply #1 on: 21 May 2003, 22:25:47 »
1.Is their a condition feild for if a player is Playing as that person in MP?

I want to make it so that a group will only appear if someones playing as the leader of that group/squad. I dont care if it only makes a squad if a player is playing as the leader, or if it destroys the group if they're not, makes no difference.

2.What do i type so you automatically give out your current location? I want to make it so when i activate Alpha Radio a guy says:

Alpha Black One: "Need fire support at XXXX. Out"

Now i can get the radio words fine (using XX sidechat "Blablabla"), but i dont know what it is so the location of the unit talking is?

3.Is their anyway so that the Radio Commands (like Alpha, Bravo, etc) are only available to one unit or group? And if this is possible then another unit can use Alpah Radio etc, but it will have a different effect then if another unit used Alpah Radio?

EG.

A soldier uses the Radio Alpha Command and says  
Alpha Black One: "Go to hell!"

But then a plane or such uses Alpha Radio but syas something different like   Bravo Black One: "And your mumma dude."

4.When Alpha Radio (or any Radio Command) is activated a marker appears at where the unit that sent the command is. How do i do this if its possible.


Note that these will be used in MP mainly, it just saves alot of time typing where you are (note question 2), because then you can just press 0-0-1 or something instead of having to type what you wnat to say.


Whoa, whoa, whoa...  :o :-\ :P
I'll try to help as best as I can...

Qs1;
Have no idea

Qs2;
In the on activation field, type this:
NameOfUnit sidechat format ["Need fire support at  %1",Position NameOfUnit]

Qs3;
No idea

Qs4;
"MarkerName" getMarkerPos NameOfUnit

HotShot

  • Guest
Re:Some questions... which i'm hoping someone can answer.
« Reply #2 on: 21 May 2003, 23:22:41 »
Thanks for the help ;)

But although Q2 works fine, is their anyway to convert that long list of numbers into something less acurate, like a Grid coordinate so its easyier for a human player to understand? (thansk anyway dude   :) )

Q4 wont work though  :-\  It just keeps saying  "Unknown operator getMarkerpos"   but i have copied it exactly and the marker name is fine too. I'll go check that out in the command reference (now i know what i'm looking for), and see if it says anything there.

Thanks again though  ;D


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Some questions... which i'm hoping someone can answer.
« Reply #3 on: 22 May 2003, 01:02:55 »
*racks brain*

there is a group command script or something in the Ed Depot that includes a script which does that .... can't remember which one though.    

There is also a coordinate to grid square conversion tutorial, in references I think.


4.   "marker1" setMarkerPos getPos unit1;  "marker1" setMarkerType "objective"

syntax not guaranteed, the marker was previously hidden in a corner somewhere with marker type empty so that it was invisible.

1.  Try this.   Make the probability of presence of the group leader 0.   Make him playable.   Make him alive a condition of presence for the other members of his group.  If he is not taken by a human player then he will not be there and the rest of the group will not exist either.   If he is taken by a human then he will and it will work.   Maybe.
Plenty of reviewed ArmA missions for you to play

HotShot

  • Guest
Re:Some questions... which i'm hoping someone can answer.
« Reply #4 on: 22 May 2003, 12:46:15 »
Well thank you VERY much  ;D The grid square thing worked. If any one else wants to know how to do it, then all i needed to type was:

Code: [Select]
p1 sidechat format ["Need fire support at  %1",[getpos p1] call GridCoord]
After adding this script to the folder and adding what it says to the INIT.sqs file.

Also the marker question is fine too  ;D

The only one left now (cause that question about only having the radio available for one group or unit i dont think will happen), is the Group Presence bit. I can get the group to die if the leader is dead:

Condition: NOT ALIVE p2
Activision: "_x setdammage 1" forEach thisList

But when i do the same but replace  "_x setdammage 1" forEach thisList  with  "_x presence=0.5" forEach thisList  it just comes up with an Error when i go to preview the mission  :-\  Anyway thanks for figuring that other stuff out  ;D

HotShot.
« Last Edit: 22 May 2003, 12:46:51 by HotShot »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Some questions... which i'm hoping someone can answer.
« Reply #5 on: 22 May 2003, 13:11:07 »
It comes up with an error because the command "presence" exists only in your imagination.  ;D ::)   Always check everyting in the command ref, preferably the online version.

Create your group leader.   Name him lets say leader1.    In the condition field of all the other group members write

alive leader1

The other group members will only exist if the group leader exists.   However I don't know what happens if the group leader is playable and his probability of presence is set to zero.

Plenty of reviewed ArmA missions for you to play