Jump to content

fence

Member
  • Content Count

    4
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About fence

  • Rank
    Rookie
  1. Hey all, thanks for the interesting and informitive posts. @The _Captain and sickboy as far as 'isnull player' goes. I got away from that fast. Aside from your Valid points... It locked up the mission and caused all kinds of havoc. The server survived it fine. But while I was testing it my client machine locked up at the end of respawn countdown. I was using it at the top of a for loop on the server. a 'waituntil not isnull player'. The client was waiting for a response it never got obviously. It was a hit the reset key for my client. SO I scrapped that with extreme prejudice. I managed to achieve good results with isPlayer. It will achieve the over all goal mission wise. I still have something else I want to try. I think it might be cleaner then my present solution. If I come up with anything interesting I will post it of course. @sickboy I will have a look at your usage of onplayerconnected and its counterpart. I would like to get the 2 sorted in my head. Also add some working examples to the wiki. Of course allot of commands on the Wiki could use some examples. hmmmm... was it easier to type 'its counterpart' then typing 'onplayerdisconnected'? Maybe a little easier. Thanks all, My missions would be nowhere without ya.
  2. Thanks Doolittle yes I see how 'isplayer' could be used. I ended up with something that is similiar to an 'isplayer'. I just used 'isnull player' instead. I still would like too figure out 'onPlayerDisconnected' though. I still have troubles with syntax. So I am not sure what I am doing wrong with it. Thats why I was hoping, someone had some good working examples. btw I look forward to going thru DICTI sometime. Also plegerizing the good bits and giving credit where due of course. cheers all
  3. Yea rodger on the disable ai. But since I still need too delete a players a10 when he leaves. I have seen them fly into friendly objects during beta testing. Or just be left in the middle of a runway. So I figured a script to sort it. Then just use onplayerdisconnected to run the script. The script was easy. launching it from onplayerdisconnected i have no luck there. Thanks for the help
  4. Greets and Good Wishes flyout to all, Long time forum viewer. Can't recall if I have posted a topic before. Usually I manage to find answers with a search here and some time spent at the wiki. This one though has me stumped. I have a small coop mission. Yes one of those win by respawn attrition missions. Its real simple players spawn and get an a10 dumped on them. With any luck they will catch on. Hop in the a10 and proceed to the objective. That much works well with the aid of a briefing and some markers and waypoints. What I am having a problem with. Is deleting the players a10 and moving the bot he posessed out of harms way. Should the player lose connection or abruptly quit. So I have been trying to use onPlayerDisconnected too run a script. That check if all playable bots have a player or not. The mission is  mainly targeted for a dedicated server. Only 8 players. So the vehicleVarNames for the bots are in a scripted array in the server init.sqf. I can't find enough examples of onPlayerDisconnected too rap my brain around it.  Adding to the confusion on the wiki onPlayerconnected has been changed since 1.08 to use code strings instead of {}. There is no mention if onPlayerdisconnected has changed convention aswell. I could go on about my confusion here. But I think the easiest way for me to sort this is a wealth of working examples. Ya got any?
×