• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Console trouble

ANSEL

Corsair
Storm Modder
Hearts of Oak Donator
I trying to give me self some poisoned throwing knifes.
But this line wont work: GiveItem2Character(pchar,"pistolpdart");
So I am asking waths wrong with that line?
 
Try: GiveItem2Character(Pchar, "pistolpdart");
Did not you leave space, or maybe it's a mistake you did by writing here?
 
If you want to give yourself some poisoned throwing knives, i.e. more than one of them, then you might want to use:
Code:
TakenItems(Pchar, "pistolpdart", 4);
Replace "4" with however many you want.

But that line ought to be valid and should give you one knife. Did you get the on-screen message "Executed Console"? If not, there should be an "error.log" file which should give a clue as to what is wrong. Otherwise have a look in "compile.log".

Failing that, try again, press F12 to activate console, then upload "console.c", "compile.log", and "error.log" if it exists.
 
Thats a mystery. None of those lines are working. I can give my self anything
with GiveItem2Character(pchar,"?"); but not the poisoned throwing knives.
@Grey Roger Your line wont work for me too!:shock
 
The logs I have
 

Attachments

  • compile.zip
    1.7 KB · Views: 136
  • system.zip
    475 bytes · Views: 133
Well I tried to start some other storylines, and now the lines work just perfect.
Its only in the storyline I play now, it wont work.(Free play as uncursed Blackbeard)
Still it is an odd behavior, and I dont know whats going one here :modding
 
I was going a couple of savegames back, and now everything is working
just fine. So I dont know the reason why it failed and probably I will never
know. Now everything works OK and I will enjoy playing my Pirate story:dance
 
Back
Top