- Description
- The following script will cause a squad or group to move along a predefined path or simple go to a location. If using a path, the path must be defined with the scripting tool and have a tag defined.
- Code
State { StateName = "INIT", OnOneTimeEvent { Conditions = { }, Actions = { SquadGoto { Tag = "creep", TargetTag = "wp_path" }, SquadGroupGoto { Group = "group1", TargetTag = "wp_path" } }, }; };
- Notes
- Tag is the tag given to the squad or group you want to move.
- TargetTag is the tag of the path you want them to follow. Optionally, it could be the tag of any entity you want the target to move to.
- Group is the name of the group you want to move.
- You will need to add the tags to both from the Entity Properties window.
- You may use any tag name you wish.
- You can add any Script Event Condition in the condition section to force this script to only trigger when the condition is true.
Battleforge has been revived by a group of passionate players and developers under the name Skylords Reborn
It is a fully functional, community-made, non-profit and completely free-to-play relaunch of the game. The relaunch has been worked on for several years, and receives regular updates.
The new Wiki can be found here: Skylords Reborn Wiki Page
.