Created
June 11, 2016 15:38
-
-
Save GeorgeDettmer/5a33ea84fd3f6bf9c443c76c48a91484 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[targetGroup,delay,yourGroup] spawn { | |
followWaypoint = param[2,group player] addWaypoint [param[0,grpNull,[grpNull]]]; | |
while {TRUE} do { | |
uiSleep param[1,5,[0]] | |
param[2,group player] addWaypoint [param[0,grpNull,[grpNull]],followWaypoint]; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How might that work in this context:
Where I want to have two groups following the one indefinitely. Also, would you know of a simple way to make the three groups act "DISMISSED" at a certain point, then cancel the dismissed behavior after a certain time and resuming their patrol behavior?