Jump to content


Photo

C&C KW Water lower script not working


  • Please log in to reply
1 reply to this topic

#1 fr1ghtn1gh

fr1ghtn1gh
  • New Members
  • 3 posts

Posted 25 December 2018 - 12:00 AM

I made a script after a timer ends to lower the water, first of all the water polygon area doesn't get picked up in the areas to choose from in the script areas option

 

However I entered the name manually (even though it says its not found) and does actually lower the water.

 

In game the water is lowered yet the terrain is still impassable as if the water is still there yet you can clearly see the terrain to walk across.

 

http://prntscr.com/lz6f4p (water area)

 

http://prntscr.com/lz6ey7 (area doesnt exist)

 

Any one know what the problem is?

 

Thanks



#2 fr1ghtn1gh

fr1ghtn1gh
  • New Members
  • 3 posts

Posted 25 December 2018 - 12:15 AM

SOLUTION:

 

1. You have to set the starting water value to be lower than the terrain (e.g 0)

2. Make a trigger for when a timer ends (say 1 second or however you want) to RAISE the water to above the terrain value (so the water is covering the terrain)

3. Make a trigger for when another timer ends for the water to go down

 

I am happy I figured that out :) basically was making a no rush map! Very handy so will leave this post up and solution :)






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users