Updated by
Modified
SARL-FAQ.markdown- Ignore whitespace
The `Initialize` event is fired by the `registerBehavior` function. As you could see, this function does not provide a mean for passing initialization parameters.
I think the ability to set the Initialize parameters when registering the behaviors is a missed feature from the SARL API.
-Until it is solved (see [open issue here](https://github.com/sarl/sarl/issues/859)), you could use the following work around:
+The issue has been resolved in [this issue](https://github.com/sarl/sarl/issues/859)) and should be available in SARL 0.8.0+. For 0.7.x, you could use the following work around:
Note that because registration happens after the creation of the behavior module, the `initParam` will be available at time of `Initialize` execution.