Jump to content

Charles Darwin

Member
  • Content Count

    133
  • Joined

  • Last visited

  • Medals

Posts posted by Charles Darwin


  1. Im not real familiar with git repositories and cant seem to get the new files? sorry for being a pain in the butt lol In exchange for helping me to figure things out Ill write a quick start guide if thats ok with you guys

    using old files you had for direct download, this is the error i get

    pdberror.jpg


  2. NP ^^ from looking at the code I was pretty sure that was the issue just wanted to make sure it was that and not having to do with my limited SQL knowledge though from what I have seen thus far its fairly simple to understand. thanks for the reply :) Also as far as the SQL procedures is there anything that is required to run the PDB?

    *goes to fire up a dedi server*


  3. Ok I admit Im not greatly knowledgeable on SQL but seem to be having an issue as it doesnt seem the scripts even attempt to run in the example mission

    I have set up an MySQL server put the info into the database file.. transferred the mission into my MPmissions folder and started it

    so its not on a dedicated server(which may be the problem) but testing it out before throwing it on a dedi server

    but when the mission loads nothing appears to start related to the arma2sql either in game or the rpt file


  4. I was thinking of just counting alldead in thislist but also not sure if that will work. I wonder if I created a game logic when the player dies and set the variable in the game logic and then simply used a while to set position of game logic to the nearest dead body until the dead body disappears and then delete the game logic because max there would only be 30 to 40 game logics created at the most.


  5. Lol like I said that stupid voice recognition but anyways what would I use then to see which players body has been returned to base? I guests I could just make it that first in the array is first out if any bodies are returned but would like to make it linked to your specific player so that anyone who lone wolfs and gets way out from the other players gets punished because the other players will have to take his specific body back to base before he will resspawn so the harder it is for other players to get to your body the harder it is for you to respawn


  6. I am not sure if you were responding to my question or not. But if you were my purpose for this is not to delete dead bodies but what I would like to do is Link the player and his corpse. And what would happen is the player would respond in spectator mode In a locked location away from the living players the living players would then have to retrieve the dead body and transport it back to base and when the dead body of that player is returned to face he then exit spectator mode and it is transported to base basically it would make a mission a response michigan but would encourage players to not die and if they do diet to make sure they do so near other players. I know that most servers would not want to run missions like this but the server I play on wood


  7. Not trying to steal the topic but my question deal almost directly with this topic so I thought it made more sense to post my question here then make a new thread. I have read all of the posts in this thread but was confused what I would like to do is link players with their dead bodies so that I can reference this link later. It's a variable and get variable do not work on dead bodies after a short. Of time would it be possible to somehow I attach a game like 8 to the dead body that I could set variable to?

    Sorry using voice recognition on my phone my question is is it possible to attach a game logic to the player course that I could reference later?


  8. Works just fine for objects.

    Place Functions module. Put down 3 BLUFOR units. Named them p1, p2 and p3. Put down a BLUFOR PRESENT ONCE trigger with this as onAct:

    spy = thisList call BIS_fnc_selectRandom; hint format["The Spy is: %1", spy];

    Each time I start up the mission I get a random Spy object.

    ah i wasnt naming them before that could be problem..is there way to get the player's name..ie not the variable name but the player's profile name when the unit has a variable name?

    Id like to west team to know which enemy team member is the spy so right now it says

    "p1 is a spy!"

    id like it to say "Charles Darwin is a spy!"


  9. triglist should be any opfor unit in triggerone, thats the problem

    ---------- Post added at 08:27 PM ---------- Previous post was at 08:26 PM ----------

    Here's what you can use to pick one unitrandomly from an array:

    _spy = *array containing players* call BIS_fnc_selectRandom;

    http://community.bistudio.com/wiki/BIS_fnc_selectRandom

    Make sure you have a Functions module.

    tried that said it didnt work for objects

×