Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Error while compiling with HNPC remod.org

Closed 2.10.2

Hello, I wanted to know if a fix is possible.
I bought amazeingpro.
works with HNPC with the requirement to replace  "TryToMove ();" to "try {TryToMove ();} catch {}"
With HNPC remod.org the console  show error: Error while compiling: aMAZEingPro.cs(3507,49): error CS1501: No overload for method CreateNPC' takes 5' arguments
With HNPC umod replacement works fine without errors.
I wouldn't like to lose  HNPC GUI only work HNPC remod.org, can you please fix it?

Share this comment


Link to comment
21 hours ago, hiromodfaker said:

Hello, I wanted to know if a fix is possible.
I bought amazeingpro.
works with HNPC with the requirement to replace  "TryToMove ();" to "try {TryToMove ();} catch {}"
With HNPC remod.org the console  show error: Error while compiling: aMAZEingPro.cs(3507,49): error CS1501: No overload for method CreateNPC' takes 5' arguments
With HNPC umod replacement works fine without errors.
I wouldn't like to lose  HNPC GUI only work HNPC remod.org, can you please fix it?

I'll look into integrating them both, if possible.

Share this comment


Link to comment

FIX HNPC remod thx @RFC1920

change line 2933 to:
public HumanPlayer CreateNPC(Vector3 position, Quaternion currentRot, string name = "NPC", ulong clone = 0, bool saved = true)

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,094 files sold to 634 customers and $102,904 of payments processed this year!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.