Overview
This prompt aims to guide developers in enhancing a taxi service system within a game by integrating NPC job requests. Game developers and programmers will benefit from the structured approach to implementing this feature seamlessly.
Prompt Overview
Purpose: The NPC option enhances the taxi service by providing players with additional job opportunities beyond player-driven requests.
Audience: This feature is designed for game developers and players who seek a more immersive and dynamic taxi service experience.
Distinctive Feature: The integration of randomized NPC jobs ensures variety and realism, enriching gameplay while maintaining the existing interface.
Outcome: Players will enjoy a seamless taxi experience, with NPC jobs that function identically to player requests, enhancing overall engagement.
Quick Specs
- Media: Text
- Use case: Generation
- Industry: Creative Writing & Storytelling, Development Tools & DevOps, General Business Operations
- Techniques: Decomposition, Plan-Then-Solve, Structured Output
- Models: Claude 3.5 Sonnet, Gemini 2.0 Flash, GPT-4o, Llama 3.1 70B
- Estimated time: 5-10 minutes
- Skill level: Beginner
Variables to Fill
No inputs required — just copy and use the prompt.
Example Variables Block
No example values needed for this prompt.
The Prompt
You are tasked with enhancing a taxi service system in a game by adding an NPC (Non-Player Character) option alongside player-driven taxi requests. The NPC option should integrate seamlessly into the existing NUI (Native User Interface) used for taxi requests. Specifically, the system should:
– Include an option within the current taxi request interface for NPC jobs, featuring the same accept or decline design as for player requests.
– Generate NPC jobs with random NPC names and characters.
– When a player requests a taxi pickup, the system must capture the player’s current coordinates and send these coordinates as a waypoint to the driver.
– Upon accepting the request, the driver receives the waypoint to the player’s location.
– Once the driver reaches the player’s location, the system should then send the driver a new waypoint corresponding to the destination the player has selected (e.g., their house or any specified location).
Ensure the NPC jobs follow the same user experience flow as player taxi requests but feature randomized names and details.
# Steps
1. Integrate an ‘NPC Jobs’ option into the existing taxi request NUI, enforcing the same accept/decline interface.
2. Implement functionality to generate NPC requests with random NPC names and characters spontaneously.
3. Capture and transmit the player’s current coordinates as the first waypoint when a taxi is requested.
4. Once the driver accepts the request, send the captured player location as the driver’s initial waypoint.
5. Upon arrival at the player location, update the driver’s waypoint to the player’s desired destination.
6. Ensure smooth transition and consistent feedback to the driver throughout the process.
# Output Format
Provide a detailed design and implementation outline or code snippet demonstrating how to:
– Add the NPC job option in the NUI interface.
– Generate random NPC requests.
– Capture and send player coordinates as waypoints.
– Update the driver’s waypoints on acceptance and upon arrival.
Use clear explanations and examples where applicable.
# Notes
– Prioritize maintaining the existing user interface and experience for taxi requests.
– Random NPC names and characters should appear realistic and varied.
– The waypoint system must update dynamically based on driver actions.
– Ensure synchronization between the player’s position and driver’s navigation.
– Consider edge cases where the player changes destination or cancels the request.
Respond comprehensively, reasoning through each step clearly before providing conclusions or example implementations.
Screenshot Examples
How to Use This Prompt
- Copy the prompt to your coding environment.
- Review the existing taxi request NUI for integration points.
- Implement the ‘NPC Jobs’ option in the NUI interface.
- Develop functionality for generating random NPC names and characters.
- Set up waypoint capturing and transmission for player coordinates.
- Test the system for smooth transitions and user experience.
Tips for Best Results
- Add NPC Jobs Option: Integrate a button in the existing taxi request NUI for ‘NPC Jobs’ that mirrors the accept/decline design for player requests.
- Generate Random NPC Requests: Create a function that randomly selects NPC names and characters from a predefined list to simulate realistic NPC job requests.
- Capture Player Coordinates: Implement an event listener that captures the player’s current coordinates when they initiate a taxi request, sending these as the first waypoint to the driver.
- Update Driver Waypoints: Ensure that upon request acceptance, the driver receives the player’s location as the initial waypoint, and upon arrival, the system updates the waypoint to the player’s chosen destination.
FAQ
- How can I add an NPC job option to the taxi interface?
Integrate a button labeled 'NPC Jobs' in the existing NUI, maintaining the accept/decline design. - What is the method for generating random NPC requests?
Create a function that randomly selects from a predefined list of NPC names and characters. - How do I capture player coordinates for taxi requests?
Use the game’s API to obtain the player's current coordinates when they request a taxi. - How are waypoints updated for the driver?
Send the player's coordinates as the initial waypoint and update it upon arrival at the destination.
Compliance and Best Practices
- Best Practice: Review AI output for accuracy and relevance before use.
- Privacy: Avoid sharing personal, financial, or confidential data in prompts.
- Platform Policy: Your use of AI tools must comply with their terms and your local laws.
Revision History
- Version 1.0 (February 2026): Initial release.


