.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #19  
Old May 24th, 2002, 07:09 PM

Markavian Markavian is offline
Corporal
 
Join Date: Feb 2001
Location: Manchester, England.
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Markavian is on a distinguished road
Default Re: Generic AI sets

Hey, Geoschmo, mind if I edit your JS General_AI creator to be a bit more user friendly, and look better?

Also, can I post 'a Version' of this on my website at some point the future? If you made this open source it'd make life easy for all.

You forgot to put ur e-mail address on the form, how am I gonna send you new ideas? Damnit, I'll have to post here instead.

javascript can't write files. yes, you need a server side application, cgi or PHP. very simple to make.

//I would like to make it be able to handle
//multiple popups at once, or at least rewrite
//the open popup, rather than forcing the user
//to close it first.

It already rewrites the opened popup tho...
If you want to make it open new popups then make teh name variable. currently you've called it 'popup'. make a variable, and increment it each time you click generate.

e.g. n = 1;
and at the top of the function: n++;
and then make the name a variable i.e. 'popup'+n;

- Markavian
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 09:40 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.