I have been scripting my combat for the game and I'm a little snagged on how to do something here.
So in the scanareo that 4 orcs attack player1 of 10 players is there a good way to filter which players recieve that data? I feel like my options are just 1 guy or all of them or all but the one the server is replying to.\
If player1 and 2 are hunting and a dragon hits player 1 I might want player2 to hear it and player 1 to loose hp but I dont want player 6 78 9 & 10 to be sent useless data when they are somewhere else. even if its discarded it seems inefficient.
websocket function options
Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
-
ShawnSwander
- Posts: 53
- Joined: Thu May 17, 2012 12:31 am
Return to “Beginner Help and Support”
Jump to
- General
- ↳ Announcements and Site Discussion
- ↳ News
- ↳ Say Hello
- ↳ Off-Topic
- ↳ Reviews
- ↳ Development Related
- ↳ Misc
- Developer's Corner
- ↳ General Development
- ↳ Game Design
- ↳ Resources
- ↳ Recruitment
- Game Development
- ↳ Beginner Help and Support
- ↳ Advanced Help and Support
- ↳ Programs/Assets/Libs/Open Source/Ect...
- ↳ Coding
- Show Off
- ↳ Project Showoff Tier I
- ↳ Project Showoff Tier II
- ↳ WebSite
- ↳ Art Showoff
- ↳ Members Games
- ↳ Main Empire Special
- ↳ General
- ↳ Development
- ↳ Off-Topic
- ↳ Bad Touch Studios
- ↳ Nitewing Gaming
- ↳ Fabled Kingdoms of Nizinia
- ↳ Announcements
- ↳ Development
- ↳ General
- ↳ Maze
- ↳ General
- ↳ Development
- ↳ Media
- ↳ Forsaken Sanctum 4.0
- ↳ General
- ↳ Contests
- ↳ Bugs and suggestions
- ↳ Forum Game
- ↳ Cavern Crawl
- ↳ Planetary Wars
- ↳ General
- ↳ Development
- Dot World Maker
- ↳ General
- ↳ Source Discussion
- New Worlds Engine
- ↳ General
- ↳ NWE Project Showoff
- KWM - Kal's world maker engine and NEAB
- ↳ Announcements
- ↳ KWM
- ↳ NEAB
- Tutorials
- ↳ Tutorials
- ↳ Epiales's Blender Tutorials
- ↳ Youtube Tutorials
- ↳ Browser Based MMO 2.0
- ↳ Real Time Browser Based MMO
- ↳ Older Browser MMO Videos
- ↳ Browser based RTS Videos
- ↳ C# Tutorials Videos
- ↳ Impact and Node/Socket.io
- ↳ Advanced MMO Framework
- ↳ Node For beginners
- ↳ Zester's Video Tutorials
- ↳ HallsNode
- ↳ Ticket System 2.0
- ↳ Code Sharing
- ↳ Hall's Games
- TMMOKit
- ↳ Help and Guides
- ↳ General
- Engine Discussion
- ↳ HTML5/Web Engines
- ↳ MMO Makers
- ↳ 3d Engines
- ↳ 2D engines
- ↳ Unity 3d
- ↳ General Unity
- ↳ Art and Assets
- ↳ Scripting/Coding
- Simple PBBG Engine
- ↳ Updates
- ↳ General
- Test