Hi Mathiew

Just include this line in your tcl script to disable motion of mobile nodes:

$ns at 0.0 "$node_($i) random-motion 0";          # disable random motion

Regards

Mubashir Husain Rehmani
Lip6, UPMC, Paris, France.


2008/11/11 Mathiew Moussa <[EMAIL PROTECTED]>

>
> Hello,
>
> If i have an implementation that uses NS2's mobileNode's
> implementation and i decided that without changing the whole class i
> just want to make all the mobileNode NOT move.
>
> How does one do that, do you change the speed to ZERO ???
>
> Thanks,
> Mathiew
>
>
>


-- 
Mubashir Husain Rehmani

Reply via email to