EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
<RefObj> set marine skill: mechanical=<Var/Number>
Post new topic This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic
Author Message
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)

MEDAL

Joined: 02 Apr 2006
Posts: 14816 on topic

Thank you for registering your game
modified
PostPosted: Sat, 5. Feb 11, 21:55    Post subject: <RefObj> set marine skill: mechanical=<Var/Number> Reply with quote Print

<RefObj> set marine skill: mechanical=<Var/Number>

<RefObj> = The marine whose mechanical skill you want to set.
<Var/Number> = The value of the mechanical skill you wish to set. This must be a non-negative integer.

This command will set the mechanical skill of the as <RefObj> chosen marine to <Var/Number>.

In the vanilla game the valid range of the mechanical skill is between 0 and 100 inclusive. However with this command it's possible to set the skill to even higher values. When doing this, keep in mind that in several menus stars are displayed in replacement for the certain skills. If you choose too big values the stars will destroy the GUI's template. Also too big values lead to the game locking up.


Example:

$i = 0
$marines.arr = [PLAYERSHIP] -> get marines array
$size.marines.arr = size of array $marines.arr
while $i < $size.marines.arr
|$marine = $marines.arr[$i]
|$marine -> set marine skill: mechanical=10
|inc $i =
end
return null

This will set each marine's mechanical skill onboard the [PLAYERSHIP] to 10.


Related Commands:

<RefObj> set marine skill: fighting=<Var/Number>
<RefObj> set marine skill: hacking=<Var/Number>
<RefObj> set marine skill: engineering=<Var/Number>


Command Location:




Last edited by X2-Illuminatus on Tue, 22. Feb 11, 14:38; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Alex Vanderbilt
Winner X3 Sektorquest


MEDALMEDAL

Joined: 04 May 2006
Posts: 2103 on topic

Thank you for registering your game
PostPosted: Sun, 6. Feb 11, 13:54    Post subject: [TiP][49] 296324 Reply with quote Print

<RefObj> set marine skill: mechanical=<Var/Number>

<RefObj> = Der Marineinfanterist, dessen Mechanik-Fähigkeiten festgelegt werden sollen.
<Var/Number> = Der Wert der Mechanik-Fähigkeit, der festgelegt werden soll. Der numerische Wert muss positiv sein.

Dieses Kommando legt einen auf <Var/Number> gesetzten Wert für die Mechanik-Fähigkeiten eines als <RefObj> ausgewählten Marineinfanteristen fest.

In einem Standardspiel ohne Modifizierung reicht die Skala für Mechanik-Fähigkeiten von 0 bis einschließlich 100.
Mit diesem Kommando ist es allerdings möglich, die Werte auch auf weitaus höhere Werte festzulegen. Dabei sollte aber beachtet werden, dass die Fähigkeitswerte in den Menüs als Sterne dargestellt werden. Zu hohe Werte können dazu führen, dass die GUI Fehler aufweist. Zu hohe Werte können außerdem zum Absturz des Spiels führen.


Beispiel:

$i = 0
$marines.arr = [PLAYERSHIP] -> get marines array
$size.marines.arr = size of array $marines.arr
while $i < $size.marines.arr
|$marine = $marines.arr[$i]
|$marine -> set marine skill: mechanical=10
|inc $i =
end
return null

Mit diesen Zeilen werden die Mechanik-Fähigkeiten aller Marineinfanteristen an Bord des [PLAYERSHIP] auf 10 gesetzt.


Verwandte Kommandos:

<RefObj> set marine skill: fighting=<Var/Number>
<RefObj> set marine skill: hacking=<Var/Number>
<RefObj> set marine skill: engineering=<Var/Number>


Zu finden unter:


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic This topic is locked: you cannot edit posts or make replies.
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Mon, 20. May 13, 01:24

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.09409 seconds, sql queries = 23