Unit scripting: attack types?

Unit scripting: attack types?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Unit scripting: attack types?

Post by TradeMark »

Okay, im newbie at unit scripting, but i ask: is it possible to make unit which attacks by reclaiming the enemy?
I would like to make unit which uses reclaim as attack.

Didnt find anything from the wiki or by using search..
User avatar
Zenka
Posts: 1235
Joined: 05 Oct 2005, 15:29

Post by Zenka »

for units who have no weapon, but can reclaim, the defailt actain on enemy units is reclaiming. but the reclaiming doesn't count as a weapon. (since it isn't defined in the weapon class)
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Post by TradeMark »

So it's not possible anyhow? :(
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

It could be if you modified the command AI, I'm experimenting with this in XE8 though, and it'll definatly be in XE10, so I guess a groupAI could be written for it....
Post Reply

Return to “Game Development”