|
#1
|
|||
|
|||
Munitionsverlust
Wie kann ich in einem Mutator die Munitionsmenge eines Bestimmten Pawns während des Spiels senken oder anheben, ohne das er schiesst oder Muni aufsammelt.
{ local Pawn P; for (P=Level.PawnList;P!=None;P=P.NextPawn) if (P.pickup.ammo.miniammo.ammoamount >= 1) P.inventory.pickup.ammo.miniammo.ammoamount--; } So gings net *gg* Ist das einfach nur in einer anderen Untergruppe des Pawns oder muss ich da was komplett anners machen ??? |
|
#2
|
||||||||||||
|
||||||||||||
Neutral
Wie denn nun? Ein bestimmter oder alle?
Code:
if ( bAllePawns ) { ;)
for (P = Level.PawnList; P != None; P = P.NextPawn)
for (Inv = P.Inventory; Inv != None; Inv = Inv.Inventory)
if ( Ammo(Inv) != None && Ammo(Inv).AmmoAmount > 0 )
Ammo(Inv).AmmoAmount--;
}
else {
P = EinBestimmterPawn;
for (Inv = P.Inventory; Inv != None; Inv = Inv.Inventory)
if ( Ammo(Inv) != None && Ammo(Inv).AmmoAmount > 0 )
Ammo(Inv).AmmoAmount--;
}
__________________
![]() Unreal Wiki: The Unreal Engine Documentation Site <+SK|Burnie`sI> Kennt einer speziellen trick wie man Rosinen aus müsli rausbekommt (query me) |
|
#3
|
|||||||||||
|
|||||||||||
Neutral
THX
Vielen Dank für die kompetente Antwort !
Schreib mal noch nen Paar mehr Beiträge, sonst steht da immer Newbie
|
|
#4
|
||||||||||||
|
||||||||||||
Neutral
Bin im Gegensatz zu anderen nicht zum spammen geboren.
__________________
![]() Unreal Wiki: The Unreal Engine Documentation Site <+SK|Burnie`sI> Kennt einer speziellen trick wie man Rosinen aus müsli rausbekommt (query me) |
|
#5
|
|||||||||||
|
|||||||||||
Neutral
Hasts aber dennoch geschafft, Jetzt biste immerhin schon nen fieser Checker
![]() Klingt doch besser als Noob
|
|
#6
|
||||||||||||
|
||||||||||||
Neutral
Naja, als N00b wird man nicht ernst genommen. Das hat ungemeine Vorteile...
![]() Zu blöd, dass man hier den Status nicht manuell eingeben kann wie in anderen vBulletins. Dann wär' ich mindestens "Adept Coder". :P
__________________
![]() Unreal Wiki: The Unreal Engine Documentation Site <+SK|Burnie`sI> Kennt einer speziellen trick wie man Rosinen aus müsli rausbekommt (query me) |
| Themen-Optionen | |
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 14:45 Uhr.
Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. - Copyright 1998-2016 by splash .de (unrealEXTREME.de)
Unreal II - The Awakening, Unreal Tournament 2004, Gears of War, Unreal Tournament 3 (c) Epic Games, Inc.
Alle Rechte vorbehalten - Datenschutz - Impressum
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. - Copyright 1998-2016 by splash .de (unrealEXTREME.de)
Unreal II - The Awakening, Unreal Tournament 2004, Gears of War, Unreal Tournament 3 (c) Epic Games, Inc.
Alle Rechte vorbehalten - Datenschutz - Impressum
![BOARD [ splash.de ]](/images/fun/misc/logo.gif)









