Gabs Posted March 5, 2014 Report Share Posted March 5, 2014 Yop là !! Avez-vous un script simple de téléchargement de données, que je puisse appliquer sur un portable ? J'ai cherché sur le net, mais tout les scripts sont trop compliqués. Je voudrai juste que le joueur s'approche du portable, un "addaction" sur ce dernier, et au bout d'un certain temps, un "hint" pour lui dire que c'est OK. Merci (sinon, je le fais moi même, mais on risque de jouer la mission l'année prochaine........!! ) Link to comment Share on other sites More sharing options...
Major_Shepard Posted March 5, 2014 Report Share Posted March 5, 2014 hint "downloading..."; sleep 5; hint "download finished"; sleep 5; hint ""; Link to comment Share on other sites More sharing options...
ETBSmorgan Posted March 5, 2014 Report Share Posted March 5, 2014 Mais ca ne s affichera que pour le mec qui a fait le addaction. Link to comment Share on other sites More sharing options...
Jip Posted March 5, 2014 Report Share Posted March 5, 2014 Regarde dans la première pvp iCFR (celle d'Olivier), il y a un script de ce type.Opération Réciprocité Link to comment Share on other sites More sharing options...
Gabs Posted March 6, 2014 Author Report Share Posted March 6, 2014 Bon, j'ai du faire une bavure, parceque ça ne fonctionne pas. - Dans l'init du portable : this AddAction ["Télécharger données","teldata.sqs"] - teldata.sqs : hint "Téléchargement données..."; sleep 5; hint "Données téléchargées"; sleep 5; hint ""; Le truc simple, quoi !! Peut être la commande dans l'init du portable ? Link to comment Share on other sites More sharing options...
Major_Shepard Posted March 6, 2014 Report Share Posted March 6, 2014 pas du sqs mais du sqf mon Gabs ^^ this addaction ["Télécharger données","teldata.sqf","",0,false,false]; Link to comment Share on other sites More sharing options...
Gabs Posted March 6, 2014 Author Report Share Posted March 6, 2014 Hé hé, tu m'étonnes que ça ne fonctionne pas......... Merci Major Link to comment Share on other sites More sharing options...
zeufman Posted March 6, 2014 Report Share Posted March 6, 2014 Rien de nouveau en +, mais dans le même esprit que le major à la sauce AleX hintSilent "Mot de passe : dDi153Djd"; saboteur removeAction 2; sleep 2; hint "connexion..."; sleep 3; hintSilent "Installation virus"; sleep 3; hintSilent "0%"; sleep 3; hintSilent "10% -"; sleep 2; hintSilent "30% ---"; sleep 2; hintSilent "45% ----"; sleep 2; hintSilent "60% -----"; sleep 2; hintSilent "70% --------"; sleep 2; hintSilent "85% ----------"; sleep 3; hintSilent "97% --------------"; sleep 4; hintSilent "98% ---------------"; sleep 2; hintSilent "99% ----------------"; sleep 5; hint "100% - INSTALLATION COMPLETE"; sleep 2; ["PIRATAGE REUSSI !"] call BIS_fnc_InfoText; sleep 3; obj2 setTaskState "Succeeded"; Link to comment Share on other sites More sharing options...
=TTK= Clem Posted March 7, 2014 Report Share Posted March 7, 2014 Mais ca ne s affichera que pour le mec qui a fait le addaction. Link to comment Share on other sites More sharing options...
Major_Shepard Posted March 7, 2014 Report Share Posted March 7, 2014 Ou plus simplement utiliser BIS_fnc_MP pour executer globalement le script teldata.sqf sur le addAction => https://community.bistudio.com/wiki/BIS_fnc_MP Mais le père Gabs veut simplement que ce soit le joueur qui fasse l'action qui ait le message, donc osef ^^ Link to comment Share on other sites More sharing options...
=TTK= Clem Posted March 7, 2014 Report Share Posted March 7, 2014 ca sert a rien de ce fatiguer a repondre ta raison on s'en fout Link to comment Share on other sites More sharing options...
Gabs Posted March 7, 2014 Author Report Share Posted March 7, 2014 Euh, Clem Major a répondu à ma question. Ce que je cherchai, c'était un addaction simple, donc sa proposition me convient. La tienne est trop développée. Merci quand même pour ta réponse. Tu peux supprimer ton dernier post, si tu veux..... Link to comment Share on other sites More sharing options...
Jip Posted March 7, 2014 Report Share Posted March 7, 2014 ca sert a rien de ce fatiguer a repondre ta raison on s'en fout Il ne faut pas mal le prendre. Malgré tout merci pour ta proposition. C'est toujours bon d'avoir des solutions différentes, que ça conviennent ou pas. Link to comment Share on other sites More sharing options...
Major_Shepard Posted March 7, 2014 Report Share Posted March 7, 2014 yop le osef il s'adressait à mon post Clem, merci d'avoir répondu bien sûr Link to comment Share on other sites More sharing options...
(OFCRA) Prax Posted March 8, 2014 Report Share Posted March 8, 2014 Sinon il y a ça: http://www.armaholic.com/page.php?id=23069 Testé sur une de mes missions, ça fonctionne très bien. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.