Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#214 closed task (fixed)

Button

Reported by: snellen Owned by: snellen
Priority: minor Milestone: Old Orxonox tickets orx-v0
Component: misc Version:
Keywords: Cc:
Referenced By: References:

Description

Introduction

In the world of orxonox (the future) everything is automated (doors, lifts, spaceships,…). The player has to be able to interact with theses machines.

Goal

The goal of this ticket is to implement some kind of button mechanism. The player should be able to press a button to trigger a customizeable reaction. For example a door gets unlocked, or an elevator is called.

Implementation

It would be reasonable to implement the button as a new kind of ScriptTrigger. The trigger should have a target (the WorldEntity which is able to trigger the button) and a radius (How close the WorldEntity has to be to be able to trigger the action).
If the target entity is in range and the action key has been pressed then a scriptfunction has to be executed.

Change History (4)

comment:1 Changed 13 years ago by snellen

  • Type changed from defect to task

comment:2 Changed 13 years ago by snellen

  • Status changed from new to assigned

comment:3 Changed 13 years ago by snellen

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 13 years ago by bknecht

  • Milestone changed from 0.5.0_basic_single_player to Old Orxonox tickets

Milestone 0.5.0_basic_single_player deleted

Note: See TracTickets for help on using tickets.