User:EAi/Tasks: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
  <task name="CTaskComplexDriveToPoint" parent="CTaskComplexCarDrive">
  <task name="CTaskComplexDriveToPoint" parent="CTaskComplexCarDrive">
     <constructor>
     <constructor address="0x1234567">
         <param name="vehicle" type="vehicle" />
         <param name="vehicle" type="vehicle" />
         <param name="target" type="vector" />
         <param name="target" type="vector" />
Line 12: Line 12:
         <variable name="hasAchievedTarget" type="bool" />
         <variable name="hasAchievedTarget" type="bool" />
     </members>
     </members>
    <functions>
        <function name="isTargetBlocked" address="0x12345678">
            <param name="ped" type="ped" />
        </function>
    </functions>
  </task>
  </task>

Revision as of 21:56, 20 March 2009

<task name="CTaskComplexDriveToPoint" parent="CTaskComplexCarDrive">
    <constructor address="0x1234567">
        <param name="vehicle" type="vehicle" />
        <param name="target" type="vector" />
        <param name="cruiseSpeed" type="float" />
        ...
    </constructor>
    <members>
        <variable name="target" type="vector" />
        <variable name="mode" type="integer" />
        <padding length="4" />
        <variable name="hasAchievedTarget" type="bool" />
    </members>
    <functions>
        <function name="isTargetBlocked" address="0x12345678">
            <param name="ped" type="ped" />
        </function>
    </functions>
</task>