| Posted by: Apexxx - Saturday, July 17, 2010 9:38:00 PM |
|---|
| hi i wouldnt say im new to the whole world builder stuff but i can never seem to get ANY of my scripts to work. my script: if player( all players) garison unit test 1 (building) then make special power air strike available to player ( all players) 1 it doesent work 2 what is wrong 3what is a replacement 4 can someone make some good tutorials for scripting |
| Posted by: The splat - Saturday, April 30, 2011 10:34:23 PM |
|---|
| Well mostly the if your in a building thing hasnt been fully implemented within the worldbuilder properly. Try instead using Trigger areas drawn around the building peremiter. then use If Player has unit of type enter Area then statements Also be wary every script comes complete with a defucntion line If True Then [b]Do nothing[/b] Its the do nothing you have to be sure to remove after adding in your action. |