# basics

tasks can be created 3 ways

* from speakMX \[dialogue system]

{% hint style="info" %}
from speakMX copied to aiWalkerCX copy and "extracted" into scheduled tasks
{% endhint %}

```
speakMX.setAiWalkerCXSched() >> aiWalkerCX.copy + aiWalkerCX.addSched_[Drive() etc]
```

* through setAiWalkerCX

{% hint style="info" %}
used by dropMX
{% endhint %}

```
dropDMX.setAiWalkerCX[x] >> setAiWalkerCX.doAdd/doAddFull
```

* in aiWalkerCX

{% hint style="info" %}
useScheduling: aiWalkerCX scheduled tasks get executed
{% endhint %}

<pre><code><strong>aiWalkerCX.sched[x] >> taskWalkTo (i) / taskDriveTo (i) etc
</strong></code></pre>
