Home   Help Search Login Register  

Author Topic: Need help with dialogs & respawns  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

Offline lex89

  • Members
  • *
Need help with dialogs & respawns
« on: 19 Sep 2009, 17:07:06 »
Hi this is the first time that i wrote here and i hope that someone can help me.

I start saying that I tried to follow the "MR. Murray editing guide", but it is still hard for me to understand how to do a dialog; so if there is someone that can help me for the creation of the dialog, it would be appreciated.

and another thing ( before starting the request ), I need a way for respawn of players with AIs, but i will explain this after.

So here it is:
I need a dialog that start when a player must respawn and/or when the player join into the server.
This dialog need only that on top appear the name of a group, like "AT Team";
on the left , some squares arranged from the  top to the down, where i can insert small icons made by myself ( and those squares will be selectables, and if possible there will be only 7 squares), and on the right of the squares a description about the squads.

Another thing is, I want that when a player respawn, some AIs respawn with him, and when the player die, after some seconds also the ai dies, and when the player respawn new AIs spawn with him.


thanks for any advice
regards
Lex89



sorry for my bad english.

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help with dialogs & respawns
« Reply #1 on: 19 Sep 2009, 17:15:58 »
Hi Lex,
which scripting questions do you have, if any? Or is this a script-done request?

Offline lex89

  • Members
  • *
Re: Need help with dialogs & respawns
« Reply #2 on: 19 Sep 2009, 18:42:39 »
ops sorry, I haven't mentioned that it's is a request, my apologies.

Unfortunately I haven't any kind of script if not some script found on armaholic, like norrin's revive and others.

I'm sorry If I have posted here, but i don't know where post the requests.

thanks for replies
regards
Lex89

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help with dialogs & respawns
« Reply #3 on: 19 Sep 2009, 22:10:37 »
Well, this is not a forum exactly for work-done requests, but if you are luky might be someone will come with something. Problem is that you mixed several requests in the same post, I would suggest you to atomize the requests, and always try to do not mix them with the "story of a mission" which only creates confusion. And least, always try to request small things, else the result might be "nil"  ;)

Offline lex89

  • Members
  • *
Re: Need help with dialogs & respawns
« Reply #4 on: 20 Sep 2009, 17:14:34 »
Oh sorry...
however i can  reduce mine request at only one and for the dialog I try to see if there is a simple program for made it.

so, my request is:
How i can make a kind of respawn, that with the player respawn also some AIs?
and how i can make that, when a player die, also these AIs die with him after a couple of seconds?

I hope that it will be more comprehensible.

regards
Lex89

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: Need help with dialogs & respawns
« Reply #5 on: 20 Sep 2009, 18:58:57 »
Do you mean any player? or just one player? which set of AI units so be created with him?

If for any player, the script is quite simple (run from init.sqf)
Code: [Select]
while {true} do
{
   if (alive player) then
   {
      // Create more units to join the player here


      waitUntil {!alive player};
      // Delete the previously created AI units here

   };
   Sleep 2;
};

Offline lex89

  • Members
  • *
Re: Need help with dialogs & respawns
« Reply #6 on: 20 Sep 2009, 20:11:59 »
thanks Mandoble ;)

I had forgot to say for any player.

now an ultimate request:
Is there something like "Dialogs for dummies" ???

I have too many difficult to create those.

thanks anyway for the help.