illserveu
  • illserveu
  • 66.5% (Friendly)
  • Private Topic Starter
16 years ago
I think we should have a single topic about WB script as we will easily to find out which we want, OK?

Table of Content
- Reveal map around object? [NOT SOLVED]
Sponsor
illserveu
  • illserveu
  • 66.5% (Friendly)
  • Private Topic Starter
16 years ago
OK, here's my first question! I thought I have found a script that reveal map around an object before, but now I can't find it (bad memory?)! Can you help me?
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago

OK, here's my first question! I thought I have found a script that reveal map around an object before, but now I can't find it (bad memory?)! Can you help me?

illserveu wrote:



Place a waypoint under or near your object on the map and give it a name

Create a new script and set your script conditions:

IF
TRUE
THEN

Edit Action:
The map is revealed at waypoint with a radius of feet for Player

The script is found under the Map tree in the Edit Actions dialogue.
UserPostedImage
illserveu
  • illserveu
  • 66.5% (Friendly)
  • Private Topic Starter
16 years ago
No, I mean a moving object 😃 (like a Shogun Executioner?)
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago
I don't see a standard script in the library like that, and tbh, I've never used one, so unless you tweak up your bad memory, or have a browse through the library and see if you can spot it.. idk.


UserPostedImage
illserveu
  • illserveu
  • 66.5% (Friendly)
  • Private Topic Starter
16 years ago
Well. I've tried to browse all scripts, but maybe there's nothing like that 💀 . However, I remember exacly the comment (help text) for that script was reveal around object!

BTW, I've an idea : Spawn a named object (for player who want reveal map) at that object (moving object). But I don't know what object should I spawn?
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago
Spawn anything to test it - it doesn't really matter what..
UserPostedImage
illserveu
  • illserveu
  • 66.5% (Friendly)
  • Private Topic Starter
16 years ago
Any object will work - that's right. But an object that must be invisible is the real matter... (and can be destroyed automically, or we will thrown trash to user computer as we can't dispose resources!)
swaty
  • swaty
  • 53% (Neutral)
  • Private
16 years ago
wooops didnt see this one!

i was wondering if the was any script that could force the computer player to produce only one kind unit, say russian bomber


cheers!
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago

wooops didnt see this one!

i was wondering if the was any script that could force the computer player to produce only one kind unit, say russian bomber


cheers!

swaty wrote:



If you mean that the player produces NOTHING else but the bomber - I guess you would need to disable production of everything else for that player. 😉
UserPostedImage
swaty
  • swaty
  • 53% (Neutral)
  • Private
16 years ago
woo nice thought!

what would the root path be (in the Edit Action Tree)? like SkimishAI->Build Control-> ??

any tips?

cheers!
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago

woo nice thought!

what would the root path be (in the Edit Action Tree)? like SkimishAI->Build Control-> ??

any tips?

cheers!

swaty wrote:



A starter would be to check which faction your player has selected - You can do this by checking which Con Yard he has built:

Script Conditions

*** IF ***
'AlliedConstructionYard' has been built by Player 'Player_1'


This is in the tree under Player -> Owns -> Player has built an object type

Then simply disallow the building of whatever you wish:

Actions if True

*** THEN ***
Player 'Player_1' allowed to build 'AlliedAntiVehicleInfantry' is false.
Player 'Player_1' allowed to build 'AlliedAntiAirVehicleTech1' is false.


In the tree thiis will be under Player -> Build -> Allow or Disallow one Building of a specific type.

😄 😉
UserPostedImage
swaty
  • swaty
  • 53% (Neutral)
  • Private
16 years ago
ah great!! worked!! cheers mate!!

is there anyway to make the computer reduce building / spawning time , for example a builging takes 20 sec to build, reduce to it to say 5 sec?
been scrolling around but did find it,

these questions suddenly occur!! :)

thx again,
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago
Nope - I don't recall seeing a script like that - sorry 😞 😁
UserPostedImage
onlyiwillremain
16 years ago
Hello everyone,

I have just made an entire map, and there is something that I want to do that seems simple but I'm unable to get it to happen.

I just want there to be no need for an ore refinery to upgrade, get new build cues, etc. I want the process to be normal, otherwise.

Can anyone help with how to do this?
Gren
  • Gren
  • 100% (Exalted)
  • Major
16 years ago
Hi onlyiwillremain 😄

I'm not sure I understand what you need to do - can you explain a little bit better please? ❓
UserPostedImage