|
Planeshift
|
Locate is a very powerful function which will find the nearest object of the named tag, within a range. More...
#include <npcoperations.h>
Public Member Functions | |
| Waypoint * | CalculateWaypoint (NPC *npc, csVector3 located_pos, iSector *located_sector, float located_range) |
| Use -1 for located_range if range scheck sould be skipped. | |
| virtual bool | Load (iDocumentNode *node) |
| LocateOperation () | |
| LocateOperation (const LocateOperation *other) | |
| virtual ScriptOperation * | MakeCopy () |
| virtual OperationResult | Run (NPC *npc, bool interrupted) |
| virtual | ~LocateOperation () |
Protected Attributes | |
| csString | destination |
| Alternate destination instead of "Active" locate. | |
| bool | locateInvincible |
| Locate invincible targets. | |
| bool | locateInvisible |
| Locate invisible targets. | |
| csString | locateOutsideRegion |
| Locate targets outside a region if a region exist. Default false. | |
| csString | object |
| bool | random |
| float | range |
| bool | static_loc |
| bool | staticLocated |
| NPC::Locate | storedStaticLocated |
Locate is a very powerful function which will find the nearest object of the named tag, within a range.
Definition at line 961 of file npcoperations.h.
| LocateOperation::LocateOperation | ( | ) |
| LocateOperation::LocateOperation | ( | const LocateOperation * | other | ) |
| virtual LocateOperation::~LocateOperation | ( | ) | [inline, virtual] |
Definition at line 982 of file npcoperations.h.
| Waypoint* LocateOperation::CalculateWaypoint | ( | NPC * | npc, |
| csVector3 | located_pos, | ||
| iSector * | located_sector, | ||
| float | located_range | ||
| ) |
Use -1 for located_range if range scheck sould be skipped.
| virtual bool LocateOperation::Load | ( | iDocumentNode * | node | ) | [virtual] |
Reimplemented from ScriptOperation.
| virtual ScriptOperation* LocateOperation::MakeCopy | ( | ) | [virtual] |
Implements ScriptOperation.
| virtual OperationResult LocateOperation::Run | ( | NPC * | npc, |
| bool | interrupted | ||
| ) | [virtual] |
Implements ScriptOperation.
csString LocateOperation::destination [protected] |
Alternate destination instead of "Active" locate.
Definition at line 976 of file npcoperations.h.
bool LocateOperation::locateInvincible [protected] |
Locate invincible targets.
Definition at line 975 of file npcoperations.h.
bool LocateOperation::locateInvisible [protected] |
Locate invisible targets.
Definition at line 974 of file npcoperations.h.
csString LocateOperation::locateOutsideRegion [protected] |
Locate targets outside a region if a region exist. Default false.
Definition at line 973 of file npcoperations.h.
csString LocateOperation::object [protected] |
Definition at line 969 of file npcoperations.h.
bool LocateOperation::random [protected] |
Definition at line 972 of file npcoperations.h.
float LocateOperation::range [protected] |
Definition at line 970 of file npcoperations.h.
bool LocateOperation::static_loc [protected] |
Definition at line 971 of file npcoperations.h.
bool LocateOperation::staticLocated [protected] |
Definition at line 965 of file npcoperations.h.
NPC::Locate LocateOperation::storedStaticLocated [protected] |
Definition at line 966 of file npcoperations.h.
1.7.3