Help with playing map

refl3ction

New Member
ok i dont know if this is the right place but...
on the map ive been working on wen i go to test it this happens (view attachment)


any ideas on whats happening and how to fix it?

and by the way the minimap was blacked out by me on purpose
 
Werbung:

Xeridanus

New Member
i think he blacked it out after taking the screen shot to prevent people from seeing his map. try getting the latest version, of the game and the map (if it was downloaded). i had that problem once, got the latest version of the map and it worked. it's not the space battle or something like that?
 

Undead_Lives

New Member
Ya it's his map.
You should open it up in the World Editor and try to re-save it. Worked for me once...
Also, if you protected it, the protector might be the problem.
 

refl3ction

New Member
well im working on it (its my map), but ive been working on it since i last tried to test it so i dont know if its fixed or not, ill try
i just did and still no... but a problem has come up when saving... it saves and what not but theres a problem with custom scripts
 

Alekill

New Member
oh this has happend to me for some reason you have to change the file name i dont know why but i did that and it worked for me when it happened to me
 

refl3ction

New Member
Custom script: call RemoveLocation (udg_Creation_Point)

thats my custom script, and thats where the problem comes from... this is used in a wisp enters a region and gets a hero

Code:
Warrior
????Events
????????Unit - A unit enters Warrior <gen>
????Conditions
????????(Unit-type of (Entering unit)) Equal to Lost Soul
????Actions
????????Unit - Remove (Entering unit) from the game
????????Wait 1.00 seconds
????????Set Creation_Point = Creation Point <gen>
????????Unit - Create 1 Warrior for (Owner of (Entering unit)) at (Center of Creation Point <gen>) facing Default building facing degrees
????????Custom script:?? Custom script: call RemoveLocation (udg_Creation_Point)

thats the code, says it 'expects a code statement'
ne ideas?
 

refl3ction

New Member
this is quoted from wc3campaigns
the first one is the bad version the second one is the good one

Code:
Trigger:
 Point Bad
 Events
 Conditions

 Actions
 Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees

The unit created at the region leaks. This is not a major leak, but depending on the amount of units created, and how often, it can add up.


Code:
Point Good
 Events
 Conditions

 Actions
 Set Temp_Point = (Center of (Playable map area))
 Unit - Create 1 Footman for Player 1 (Red) at Temp_Point facing Default building facing degrees
 Custom script: call RemoveLocation (udg_Temp_Point)

By setting our position that we want the unit to be created at, creating it at the variable, then removing it, we remove all leaks.[/b]
 
Werbung:
Top