- Timestamp:
- Jan 27, 2016, 6:50:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/controllers/ActionpointController.h
r11071 r11099 94 94 @brief 95 95 XML method, example XML usage: 96 97 @code 96 98 <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> 97 99 <templates> … … 110 112 </controller> 111 113 </SpaceShip> 114 @endcode 112 115 113 116 Full description: … … 116 119 If any WorldEntity that is not Actionpoint or its child being sent to actionpoints through XML, 117 120 action would be assumed to be Action::FLY and target position to be position of the entity. Also, if not Actionpoint 118 is passed, it is assumed to be in a loop. How it works is: in <actionpoints> first all Actionpoints between121 is passed, it is assumed to be in a loop. How it works is: in \<actionpoints\> first all Actionpoints between 119 122 first Actionpoint with loopStart=true and first following Actionpoint with loopEnd=true are included in a single loop. 120 123 If they are adjacent (in the input array) with WorldEntity, then WorldEntity is also in a loop. … … 122 125 123 126 Loop example: 127 128 @code 124 129 <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> 125 130 <templates> … … 137 142 </controller> 138 143 </SpaceShip> 144 @endcode 139 145 140 146 other loop example: 147 148 @code 141 149 <SpaceShip position="-1500, -1500, -1500" lookat="0,0,0" team=0 name="ss1"> 142 150 <templates> … … 153 161 </DivisionController> 154 162 </controller> 155 </SpaceShip> 163 </SpaceShip> 164 @endcode 156 165 157 166 @note 158 Don't use several loops, and don't use WorldEntities as input to <actionpoints> as I didn't test it well, but you167 Don't use several loops, and don't use WorldEntities as input to \<actionpoints\> as I didn't test it well, but you 159 168 can try if feeling lucky. 160 169 */
Note: See TracChangeset
for help on using the changeset viewer.