ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Announcements and Showcase
forum topic indicator npcs in multiplayer
person icon
guest_CopperCraf
Guest
Quote
2025-03-21 19:22:45

hello, im trying to add a npc on my .php server multiplayer. but i cant igure out how i could do that, basically how a position of a npc updates on all clients and some other features.

person icon
okeoke
Registered User
Quote
2025-03-22 08:40:56

You either handle npc logic server side. I.e. server calculate npcs positions, handles interaction between players and npcs and so on. Which you can't really do with a php backend:)
Otherwise you make all logic run on the first joined client, so player one sort of hosts the game, handling all logic, and everyone else just use that data.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |