Code Monkey home page Code Monkey logo

Comments (7)

Gratt-5r2 avatar Gratt-5r2 commented on September 24, 2024 1

Oops, from the mobile phone this part was not visible for me, sorry. But I have no idea why this is there :) Looks like a misclick. Please check it now.

from unionproject.

Gratt-5r2 avatar Gratt-5r2 commented on September 24, 2024

oCNpc::Enable(zVEC3) function used for activation an NPC in the current game world. At the argument your should specify the point where X - right axis, Y - top axis, Z - at axis.

oEFightAction is the part of the oCNpc class. Used in the Fight AI. You can get access to the elements of this enum like oCNpc::oEFightAction::NPC_FIGHTMOVE_RUN or oCNpc::NPC_FIGHTMOVE_RUN.

from unionproject.

AlmightyLks avatar AlmightyLks commented on September 24, 2024

Mind having a peek at the lines of code I have shared for that?

The definition of oNPC::Enable seems to have nothing to do with the faulty definition of the oEFightAction enum 😅

from unionproject.

Gratt-5r2 avatar Gratt-5r2 commented on September 24, 2024

Mind having a peek at the lines of code I have shared for that?

Here the problem is in the including order of the header files, more precisely in the package (or arguments) with which you trying to compile the Gothic API.

The definition of oNPC::Enable seems to have nothing to do with the faulty definition of the oEFightAction enum 😅

Absolutely nothing.

from unionproject.

AlmightyLks avatar AlmightyLks commented on September 24, 2024

Here the problem is in the including order of the header files, more precisely in the package (or arguments) with which you trying to compile the Gothic API.

Oh, thanks for the hint. That gave me an idea, but anyhow the mention of this issue, within the other issue is unrelated 😄

I feel like there is a miscommunication, and the code snippet I shared initially may not pronounce it as much
image

Are you sure this is right?

from unionproject.

AlmightyLks avatar AlmightyLks commented on September 24, 2024

Glad we sorted it out 😄
Are you going to push a fix, or should I do a quick PR?

from unionproject.

AlmightyLks avatar AlmightyLks commented on September 24, 2024

Resolved in 99ac1e8

from unionproject.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.