![]() HexWorld:GetScriptingS():SetGroupBehavior("NAGAGUARDS", "GUARD")īut still I can't chose anything in the section "Behavior" of the unit stack. So I just clicked on scripting for the stack and after some trials I finally got no error message by tiping in this in the script: "RAID": raid behavior - attacks everything it can find. "PATROL": patrol behavior - patrols around the home location with a specified range. "GUARD" : guard behavior - guards a single location or a specified area. ![]() ![]() Void SetGroupBehavior(GroupAlias : string, BehaviorName: string) I tried to open a new script for a stack I named NAGAGUARDS (which should then be the groupalias right?). So I figured out that one possibility is to group the stack and put it on guard somehow (also discussed here ipting-possibility/).īut then comes the thing: I have absolutely no clue how. Now I could work with BlockingAI markers, but this blocks also other units. But these enemies start to walk around on the map, rather than holding their position and guarding a certain place. So my first Problem is: I have some independent enemies. this one:Īnd even downloaded and studied the advanced level editing and scripting guide:Īnd I have read passages in that guide again and again and again with the only result that my self esteem shrank -). Or in other words: For a casual gamer that has never done any scripting it is a nightmare, if you want to implement Quests/Events and so on. First thing I realized was: Compared to the Map Editors of AoW 1 and 2/SM (that I enjoyed/enjoy very much) this Editor is way more complicated. I started recently to create own maps on the Map Editor of AoW3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |