brauche mal wieder hilfe!
will ein script erstellen das nur 1mal! ausgeführt wird und bei allen terraner schiffen Projektilkanonen Munition in den laderaum einfügt, denn ich hab die terranerwaffen modifiziert so das sie munition verbrauchen
und ohne munition nix los!!
Hab da schon mal was probiert:
Setup script:
Code: Select all
$globalvar = get global variable: name= $globalvar.terran
if not $globalvar == [TRUE]
START [THIS] -> call script "plugin.terran.install" :
Terran add notoriety: race= Player value= 100000
set global variable: name= $globalvar.terran value= [TRUE]
end
return null
Code: Select all
$ship1 = get ship array: of race Terran class/type= Odin
$ship2 = get ship array: of race Terran class/type= Thor
$ship3 = get ship array: of race Terran class/type= Walkuere
$ship4 = get ship array: of race Terran class/type= Mjoellnir
= $ship1 -> install 10000 units of Projektilkanonen_Munition S_1
= $ship2 -> install 1000 units of Projektilkanonen_Munition S_1
= $ship3 -> install 100 units of Projektilkanonen_Munition S_1
= $ship4 -> install 100 units of Projektilkanonen_Munition S_1
return null
hoffe ein freundlicher scripter kann da helfen[/code]