[QUOTE=00Rez] [QUOTE=rexrainbow] Duration behavior
The idea of this behavior was came from @00Rez.
"Duration behavior" is a timer-like behavior. It will execute callbacks during duration. Like timer behavior, duration need to connect to timeline plugin and function plugin.
See sample capx
for more detail.
Left side is the setting of duration:
Duration time = 1 second : start at 0, end at 1
Interval time = 0.3 second : intervals for each 0.3
Right side is the execution result:
0 -> execute callback "start"
0.3 -> execute callback "interval"
0.6 -> execute callback "interval"
0.9 -> execute callback "interval"
1 -> execute callback "end"
Set callback to "" (empty string) could skip this callback.[/QUOTE]
This is very good. There's one or two things missing so I'll upload my example and PM you a link to my behavior with a simple example to show you exactly what I mean. Thanks a lot for your time on this Rex![/QUOTE] Here
is the example to show you my behavior. Left click to move, left click and hold on enemy to attack. Wait till night to get stronger.00Rez2012-06-17 10:14:37