Jump to content

kyfwana

Member
  • Content Count

    7
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About kyfwana

  • Rank
    Rookie
  1. Will deletinig a man with deleteVehicle also remove him from his group? Or will I have to do that seperately? To be more specific, I'm deleting a corpse with deleteVehicle. I'm assunming I can reference the corpse the same way I reference a living member of a group by using "units _myGroup select #". I'm trying to totally remove a dead member from the world in preparation for respawning a copy of him back into the group.
  2. Okay, so let me get this strait. If I put a unit in the editor and name it "Blue7", And a player joins the game and takes control of "Blue7", and a script running on the server contains the following code: _blue7 = blue7 Will _blue7 point to the unit with the name "blue7" or wont it?
  3. Thanks for the reply. In your example, would all computers be able to see the names "blue7" and "mortar1" and be able to make changes to the units that correspond to those names? Or would only the computer that those units are local to be able to do that? For example, if "blue7" is controlled by a player from a machine which is not the server, will the server be able to see the name "blue7" and access that unit through its name?
  4. A search for "call name" returns no relevant info. Can you be more exact with what you mean by "call that name in a script"? Maybe give an example? Is it just literally "_unit = call unitname"? Will that assign to _unit a reference pointing to the unit with name unitname, which in this example is the name given to it in the mission editor?
  5. What do you mean exactly by "call that name". Unfortunately all search results I find are people trying to do the opposite of what I want, people who want to get the name of a unit they already know. I'm trying to get the unit itself only knowing its name.
  6. I want to assign to a variable a reference to a specific unit placed in the editor, no matter whom is controlling that unit, ai or player. I assume there is some way to get a specific unit reference from it's "name"?
×