Jump to content

Debugging (console) problem


Recommended Posts

Posted

So I'm trying to fix the LoversStopCombatEx mod, and I'm trying to debug by trying to print player.GetNumFollowers in console, but none of the print commands work.

 

If I use Print, it says I can't use that command in console. If I use PrintC, it needs a String, and that function returns a number. I would have to create a variable (getnum), then set it to the function, then print it, but I don't know how to do that.

 

Either some help with printing out these, or just straight up telling me if Companions from the CM mod and others, Dogs from LoversBitches, and Slaves from LoversSlaveTrader, are considered 'followers' by the game would be extremely helpful. Thanks.

 

I've tried doing this:

set tempRef to player.GetNthFollower 0

PrintC "First follower is: %n" tempRef

but it says unknown variable tempRef...

Posted

So I'm trying to fix the LoversStopCombatEx mod' date=' and I'm trying to debug by trying to print player.GetNumFollowers in console, but none of the print commands work.

 

If I use Print, it says I can't use that command in console. If I use PrintC, it needs a String, and that function returns a number. I would have to create a variable (getnum), then set it to the function, then print it, but I don't know how to do that.

 

Either some help with printing out these, or just straight up telling me if Companions from the CM mod and others, Dogs from LoversBitches, and Slaves from LoversSlaveTrader, are considered 'followers' by the game would be extremely helpful. Thanks.

 

I've tried doing this:

set tempRef to player.GetNthFollower 0

PrintC "First follower is: %n" tempRef

but it says unknown variable tempRef...

[/quote']

 

Is tempRef declared as Ref variable?

 

Did you input it with the console?

In that case, the local variable cannot be used with the console.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...