TA: Kingdoms Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Welcome to TA: Kingdoms
 
HomePortalGallerySearchLatest imagesRegisterLog in

 

 Scripting

Go down 
2 posters
AuthorMessage
Guest
Guest




Scripting Empty
PostSubject: Scripting   Scripting EmptyTue Aug 03, 2010 1:31 pm

I'm trying a new type of script and had a question about AI units.

Is it possible to have the AI units be stationary until a player comes on their radar or LOS? I don't want them to move until i get there ^^
Back to top Go down
Wqaopl

Wqaopl


Posts : 216
Reputation : 2
Join date : 2008-08-14

Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyTue Aug 03, 2010 1:44 pm

i find if i set troops to defence stance thay will jenraly do that however i have no idea what u are asking.
Back to top Go down
Guest
Guest




Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyTue Aug 03, 2010 1:55 pm

Ok, here's what I'm trying to do.

I'm trying to make a script where you start out with a blade demon on the Maze, kill a few units and you get rewarded with more depending on what you kill.

I want there to be a dark priest with a lodestone somewhere on the map that is yours but you have to find it's location to aquire it. Like in first TA:K mission where you take the messenger to the middle and all the towers pop up out of nowhere.

Eventually, player 1 and player two would fight their way across the map against the entrenched AI and then they would come to fight eachother.
Back to top Go down
Wqaopl

Wqaopl


Posts : 216
Reputation : 2
Join date : 2008-08-14

Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyTue Aug 03, 2010 2:29 pm

u can use create unit at location to make units semingly pop out of no where but the ai will be harder cos the scriped has no control over it. the only two things i can think of are the crate unit ciomand agen and the move unit type comand (it can be used to hold a unit at a location).
Back to top Go down
Guest
Guest




Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyTue Aug 03, 2010 2:34 pm

So now that I'm spawning my own units after I kill certain ones, they won't STOP spawning!
Back to top Go down
Wqaopl

Wqaopl


Posts : 216
Reputation : 2
Join date : 2008-08-14

Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyTue Aug 03, 2010 2:37 pm

when u ativet a comand u also need to deatavate it. the simplest way it to use the disable rual action.
Back to top Go down
DeeKay
Administrator
DeeKay


Posts : 531
Reputation : 26
Join date : 2011-03-19
Age : 25
Location : Brazil - SP

Scripting Empty
PostSubject: Re: Scripting   Scripting EmptyMon Dec 23, 2013 6:27 pm

Topic moved to Support Forum, Questions & Help Requests Section.

Solved, so Locked.
Back to top Go down
http://alltakdownloads.6te.net/
Sponsored content





Scripting Empty
PostSubject: Re: Scripting   Scripting Empty

Back to top Go down
 
Scripting
Back to top 
Page 1 of 1
 Similar topics
-
» map scripting
» How can scripting map work??

Permissions in this forum:You cannot reply to topics in this forum
TA: Kingdoms Forums :: GENERAL :: Questions & Help Requests-
Jump to: