I am playing around a bit with the console execution commands (Build14A8), searching the forums for old threads..its actually quite fun what you can do. But then I got stubborn, trying to learn how to control things in the game. I have troubles equipping my officers with the items I gave them.
I tried the following out of pure blindness:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->ch.equip="commonarmor"; (nope)
ch.equip.commonarmor=1; (another nope)
EquipCharacterByItem(pchar, "conmonarmor"); (only equips me, not the NPC)
EquipCharacterByItem(ch, "commonarmor); (wont execute)
EquipNPCharacterByItem(ch, "commonarmor"); (won´t execute)<!--QuoteEnd--></div><!--QuoteEEnd-->
It seems, nothing works. Anyone out there who knows how to do this? I think it has to do something with GetPassengerIndex, like this (but that wont work either)
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->ch = CreateOfficer_Cheat("Huber_fra", 0, PORTUGAL, false);
SetOfficersIndex(pchar, -1, GetCharacterIndex(ch.id));
EquipCharacterByItem(GetOfficersIndex(pchar, -1, GetCharacterIndex(ch.id)), "commonarmor");<!--QuoteEnd--></div><!--QuoteEEnd-->
Also, I i.e. came from Nevis and changed location to Conceicao via the console (this works fine) But then I went to sea from Conceicao and ended up in the sea outside Nevis again?! This is not supposed to happen..
The location change lines looks like this:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->DoQuestReloadToLocation("Conceicao_port", "reload", "reload2" ,"");
SetCharacterShipLocation(Pchar, "Conceicao_port");<!--QuoteEnd--></div><!--QuoteEEnd-->
I am probably just starring myself blind on these things. Anybody have a clue what I do wrong?
I tried the following out of pure blindness:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->ch.equip="commonarmor"; (nope)
ch.equip.commonarmor=1; (another nope)
EquipCharacterByItem(pchar, "conmonarmor"); (only equips me, not the NPC)
EquipCharacterByItem(ch, "commonarmor); (wont execute)
EquipNPCharacterByItem(ch, "commonarmor"); (won´t execute)<!--QuoteEnd--></div><!--QuoteEEnd-->
It seems, nothing works. Anyone out there who knows how to do this? I think it has to do something with GetPassengerIndex, like this (but that wont work either)
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->ch = CreateOfficer_Cheat("Huber_fra", 0, PORTUGAL, false);
SetOfficersIndex(pchar, -1, GetCharacterIndex(ch.id));
EquipCharacterByItem(GetOfficersIndex(pchar, -1, GetCharacterIndex(ch.id)), "commonarmor");<!--QuoteEnd--></div><!--QuoteEEnd-->
Also, I i.e. came from Nevis and changed location to Conceicao via the console (this works fine) But then I went to sea from Conceicao and ended up in the sea outside Nevis again?! This is not supposed to happen..
The location change lines looks like this:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->DoQuestReloadToLocation("Conceicao_port", "reload", "reload2" ,"");
SetCharacterShipLocation(Pchar, "Conceicao_port");<!--QuoteEnd--></div><!--QuoteEEnd-->
I am probably just starring myself blind on these things. Anybody have a clue what I do wrong?