Map boudaries screwed everything up

Kosire

New Member
Reaction score
0
My creep respawn triggers are from: http://www.thehelper.net/forums/showthread.php?t=55581

So I used the above tutorial to create creep revival system and it worked with my original map. Then I was dissatisfied with my map boundaries so I went into Scenery - Map Size and Camera Bounds and changed the size of my map. I don't know if I was supposed to change it proportionally or to a certain dimensions for a bigger size map but.. now all the creeps respawn in areas WAY off of their starting locations..
help.... :( :( :(

Trigger:
  • Creep Rev Initial
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
        • Loop - Actions
          • Set Integer = (Integer + 1)
          • Unit - Set the custom value of (Picked unit) to Integer
          • Custom script: set udg_Creep_X[udg_Integer] = GetUnitX(GetEnumUnit())
          • Custom script: set udg_Creep_Y[udg_Integer] = GetUnitY(GetEnumUnit())


Trigger:
  • Revive Creeps 1 by 1 Copy
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Owner of (Triggering unit)) Equal to Neutral Hostile) and (((Triggering unit) is Summoned) Not equal to True)
    • Actions
      • Wait 40.00 seconds
      • Set tempPoint[1] = (Center of (Entire map))
      • Set tempPoint[2] = (tempPoint[1] offset by (Creep_X[(Custom value of (Triggering unit))], Creep_Y[(Custom value of (Triggering unit))]))
      • Unit - Create 1 (Unit-type of (Triggering unit)) for Neutral Hostile at tempPoint[2] facing Default building facing degrees
      • Unit - Set the custom value of (Last created unit) to (Custom value of (Triggering unit))
      • Custom script: call RemoveLocation(udg_tempPoint[1])
      • Custom script: call RemoveLocation(udg_tempPoint[2])
 

Kosire

New Member
Reaction score
0
Does anyone know of another revival system maybe? that would ignore my somehow butchered map dimensions? Cuz I've remade the revival trigger from scratch and it didnt work again so in whatever I did with map dimension changes really screwed it up.

EDIT: Ugh... sorry for double post.. wanted to kinda "P.S." this and misclicked I guess -.-''...
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Try to delete the triggers and redo them :D Just to get the new values :D
 

TheSpoon

New Member
Reaction score
10
Can you give us some idea as to what direction / pattern they've moved to?

Did they all move North East?
Are they all swapping locations?
 

Kosire

New Member
Reaction score
0
Can you give us some idea as to what direction / pattern they've moved to?

Did they all move North East?
Are they all swapping locations?

Yea, the "Slimes" that spawn in upper left spawn ALL the way down in the bottom right area
SLimes.jpg

This is the shift the other creeps spawn into as well.

Try to delete the triggers and redo them :D Just to get the new values :D

Yea I just did that. Deleted the variables and triggers and remade even the "No leak fix version" and i get the same result. I had thought of that too but I guess it has to be somehow that I like unproportionally changed the boundaries, I just dont know...

<---->
There's the map if you want to see anything.
-nofog makes visibility
go right from "Roumen" past yellow gate through little grass cliff maze and kill the slimes you can see after -nofog that they spawn down where I pointed in the minimap.
<---->
 

Attachments

  • Fiesta RPG.w3x
    88.2 KB · Views: 78

JHouse3532

New Member
Reaction score
1
Sometimes when u over expand the boundaries the AI and trigger systems malfunction. if there are any open spots against the boundries (no tree covering) then the computers freak out.
 

Kosire

New Member
Reaction score
0
Sometimes when u over expand the boundaries the AI and trigger systems malfunction. if there are any open spots against the boundries (no tree covering) then the computers freak out.

So what should I do? I guess I dont understand what you mean by no tree covering or 'open spots against the boundaries'
 

Kosire

New Member
Reaction score
0
Great tut + rep

just one thing to say though

where you create the unit again at ((Center of (Entire map)) i found that the points were taken from point 0 0

if your center of map is 0 0 this is ok but mine wasn't as i enlarged it and stuff

i found a way to get around this by recreating the unit at the point ((Point(0.00, 0.00)) with offset something

just helping if someone find this difficult

solved. lol
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top