Hi Is there a way to have the Wait action use a Parameter value for the integer?
Olly
The Wait Action only accepts Float parameters - not Integers.
Any chance you could add it to the roadmap?
Ultimately I want to wait a random period. The random float/integer is easy enough but clearly there's no easy way to pass that to the wait action.
Sorry, I'm not understanding the context here. Are you looking to have the wait period only be a whole number?
A custom Action that lets you wait a random time can be found on the AC wiki:
https://adventure-creator.fandom.com/wiki/Wait_a_random_time_within_an_specified_time_range_(Action)
Having Integer parameters override Action float fields is a good idea, as well - I'll look into this for the next release.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
The Wait Action only accepts Float parameters - not Integers.
Any chance you could add it to the roadmap?
Ultimately I want to wait a random period. The random float/integer is easy enough but clearly there's no easy way to pass that to the wait action.
Sorry, I'm not understanding the context here. Are you looking to have the wait period only be a whole number?
A custom Action that lets you wait a random time can be found on the AC wiki:
https://adventure-creator.fandom.com/wiki/Wait_a_random_time_within_an_specified_time_range_(Action)
Having Integer parameters override Action float fields is a good idea, as well - I'll look into this for the next release.