-
Couldn't load subscription status.
- Fork 434
NPC Component Documentation #1137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
To any team member: don't merge it yet |
|
|
|
Missing manual review by someone and nodes documentation |
- better comments in some things
… and NPC_SetSpecialAction documentation
…nd NPC_SetSkin documentation thanks eggy
|
TODO: |
- Add correct seat maps
|
For some deleted documents, links to other related should be removed, for example,
All files need be format like prettier.
What about some past APIs? Do those need to be changed or deleted? Dont forget global replace |
|
thanks @dockfries |
|
Ready to review: NPC_AimAt.md In case testing is needed, the gamemode is here with those functions implemented: |
|
Ready to review: NPC_AddPointToPath.md In case testing is needed, the gamemode with all these functions implemented is here: |
|
Ready to review: NPC_GetAmmo.md In case testing is needed, the gamemode with all these functions implemented is here: |
This PR adds documentation for the NPC component.
The open.mp branch for beta testing can be found here:
openmultiplayer/open.mp#916
Bugs while testing? Report them here: openmultiplayer/open.mp#1134
A test gamemode built using the wiki snippets is available here:
https://github.com/itsneufox/NPC-bare-test-omp-gamemode
The goal is for the NPCs wiki code to be fully reusable so anyone can copy and paste it on the gamemode with minimal effort
Core / Lifecycle
Position / Rotation / World
Movement
Appearance
Health / Armour / Invulnerability
Weapons / Combat
Vehicle
Animations
Playback / Records
Surfing
Paths
Nodes
Callbacks / Events