HX3 Foren

HX3 Foren (https://hx3.de/)
-   Editing & Scripting (https://hx3.de/editing-scripting-187/)
-   -   Gruppe läuft nicht entspannt sondern mit Waffe in Vorhalte (https://hx3.de/editing-scripting-187/gruppe-laeuft-entspannt-sondern-waffe-vorhalte-23422/)

Drunken Officer 01.03.2014 20:53

Gruppe läuft nicht entspannt sondern mit Waffe in Vorhalte
 
Ich lasse der Gruppe zufällig einen Wegpunkt zuweisen. Was auch funktioniert. Das Tempo der Gruppe stimmt. Allerdings laufen die nicht "entspannt", sondern ständig mit der Waffe in Vorhalte.

Kann mir einer sagen wo der Fehler ist. Ich finde den nicht.

Das Script ist noch nicht fertig, da ich momentan den Markerbereich nicht richtig auslese.

Ich weiß es gibt UPS Script & co, aber man will ja selber auch dazu lernen.
Code:

....

while {{alive _x} count units team1 > 0} do
    {
     
        _wp1 = team1 addWaypoint [_DOF_WPPOS, 1];
        _wppos = getWPPos [team1, 1];
        [team1, 1] setWaypointBehaviour "safe";
        [team1, 1] SetWaypointType "Move";
        [team1, 1] setWaypointSpeed "limited";
        [team1, 1] setWaypointFormation "STAG COLUMN";
                ....


Vienna 02.03.2014 08:52

https://community.bistudio.com/wiki/...pointBehaviour

"CARELESS" wählen.


https://community.bistudio.com/wiki/...ointCombatMode

"GREEN" wählen.


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:20 Uhr.

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119