Armed-Assault.de Twitter


Editing The world is a Script - write it!

Antwort
 
Themen-Optionen Ansicht
Alt 04.03.2009, 19:14   #1 (permalink)
Newbie
 
Registriert seit: 01.11.2008
Beiträge: 32
Standard synchronizeWaypoint probleme

hi,

ich habe folgendes Problem:

und zwar, eine Gruppe soll in einen Hubschrauber steigen. der Hubschrauber ist h1 und die gruppe ist grprescue...
die guppe wird über einen trigger erstellt, der Trigger ruft auch den Hubschrauber, der Startet auch und fliegt los, die Gruppe ist auch da und wartet, nur leider landet der Hubschrauber nicht sondern fliegt über dem H und die Gruppe wartet vor dem H, also geht es nicht weiter

Das scheint ja ein Problem mit dem synchronizeWaypoint sein oder ? ich habe es schon mit

Code:
[_heli, 0] synchronizeWaypoint [[grprescue, 0]];
und so probiert, immer das selbe...
kennt sich damit einer aus ? weiss einer was ich da falsch mache ?
Code:
     _heli = group h1;
grprescue= createGroup West;
[ ai4,ai2,ai3,ai1] join grpnull;
[ ai4,ai2,ai3,ai1] join grprescue;
grprescue selectLeader ai4;
WP1 = grprescue addWaypoint [getMarkerPos "GrpM", 0];
wp1 setWaypointType "get in";
WP2 = _heli addWaypoint [getMarkerPos "GrpM", 0];
wp2 setWaypointType "Load";
WP3 = _heli addWaypoint [getMarkerPos "GrpM2", 0];
wp3 setWaypointType "move";
[_heli, 1] synchronizeWaypoint [[grprescue, 1]];
das funktioniert auch nicht... was mache ich nur falsch ? der Heli bleibt in der Luft und die Soldaten machen keine anstalten irgenwas zu tun...
aXXIs262 ist offline   Mit Zitat antworten
Alt 04.03.2009, 20:26   #2 (permalink)
SQF Zauberer 10 Jahre hx3
500 Beiträge1000 Beiträge
 
Benutzerbild von Vienna
 
Registriert seit: 12.07.2004
Ort: Wien
Beiträge: 1.917
Standard

Vielleicht liegt es daran, dass du dem Heli zweimal den Wegpunkt 0 zugewiesen hast.
Vienna ist offline   Mit Zitat antworten
Alt 04.03.2009, 20:53   #3 (permalink)
Newbie
 
Registriert seit: 01.11.2008
Beiträge: 32
Standard

[getMarkerPos "GrpM", 0]; ?

das meinst du? ich denke die "0" ist der radius oder ?
aXXIs262 ist offline   Mit Zitat antworten
Alt 04.03.2009, 21:19   #4 (permalink)
Newbie
 
Registriert seit: 01.11.2008
Beiträge: 32
Standard

ich habs hinbekommen:

Code:
_heli = group h1;
grprescue= createGroup West;
[ ai4,ai2,ai3,ai1] join grpnull;
[ ai4,ai2,ai3,ai1] join grprescue;
grprescue selectLeader ai4;

WP2 = _heli addWaypoint [getMarkerPos "GrpM",5];
wp2 setWaypointType "Load";

WP1 = grprescue addWaypoint [getMarkerPos "GrpM",5];
WP1 setWaypointType "getin";

WP3 = _heli addWaypoint [getMarkerPos "GrpM2", 5];
wp3 setWaypointType "unload";

[_heli, 1] synchronizeWaypoint [[grprescue, 1]];
setwaypointtype "getin" nicht get in
aXXIs262 ist offline   Mit Zitat antworten
Alt 04.03.2009, 22:17   #5 (permalink)
SQF Zauberer 10 Jahre hx3
500 Beiträge1000 Beiträge
 
Benutzerbild von Vienna
 
Registriert seit: 12.07.2004
Ort: Wien
Beiträge: 1.917
Standard

Das ist die Wegpunktnummer.

Waypoint

[group, index]

Description: Group is of type Group, index is of type Number.
Index selects waypoint.
Index 0 selects first waypoint which is always created on group starting position.

Comments:

Note that [groupname, 0] is automatically created at a unit's starting position.

Therefore:

[groupname, 1] would be the first in-editor waypoint
[groupname, 2] would be the second
And so on...

Retrieved from "http://community.bistudio.com/wiki/Waypoint"
Vienna ist offline   Mit Zitat antworten
Alt 05.03.2009, 00:26   #6 (permalink)
Newbie
 
Registriert seit: 01.11.2008
Beiträge: 32
Standard

jo danke jetzt gehts ja, wegpunkt 1 war ja dann richtig...
aXXIs262 ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
2 probleme ! AlbertEinstein Hilfe 3 08.04.2004 17:08
Probleme... KanakcAttack Hilfe 5 30.03.2004 21:42
Cursor-Probleme Trollkopf Hilfe 5 30.07.2003 01:12


Kontakt - HX3.de - Archiv - Nach oben

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