Recent content by Monictor

  1. M

    Text Tag Question

    Yeah I had just made one that updated every second, but it seemed to bug out every so often, so I just made it 2 seconds. Probably doesn't answer your question :(.
  2. M

    get damage done in variable

    What someone else taught me to do was to make a trigger with a unit event, like entering map area, make an action that adds a unit event to another trigger that reads (triggering unit takes damage). In that trigger (which originally has no event) you would have something like this (what I have...
  3. M

    Leak check

    You guys aren't helping much. I have leak removers in there. Did I remove the point and special effect leaks correctly? So is the only leak I have to remove in the loop that is left is... the "pick random unit" when I set the MeteorEffect point?
  4. M

    Leak check

    Alright, to remove the special effect leaks I've added this to the loop: Set MeteorSFX[(Integer A)] = (Last created special effect) and this to remove them later: For each (Integer A) from 1 to 15, do (Special Effect - Destroy MeteorSFX[(Integer A)]) It leaks every line? 45+...
  5. M

    Leak check

    Checking to make sure I got the point and picked unit leak removals right. Also, I'm looking for suggestions on how to remove the 15 special effect leaks without altering the effect (it makes meteors fall down which don't particularly do anything individually). Don't worry about the...
  6. M

    Upgrade reseter

    Dammit dammit dammit dammit dammit. So what's the point of the "set research level" function?
  7. M

    Upgrade reseter

    Making a game where players buy units and upgrade them to eventually fight each other in a battleground. When players buy units a building is made for that unit which contains its upgrades. After every battle i need the upgrades to be reset. So I made this trigger so that when the unit...
  8. M

    Floating Text Q

    I have this floating text that acts as a countdown timer. I am wondering if I did it the most optimal way. Ex. will the floating text change when the value of the integer variable changes or do I have to keep refreshing it like I do in the below part? For each (Integer A) from 1 to 36, do...
  9. M

    Difficult logical problem

    EDIT: I had posted the wrong trigger for the action trigger earlier... here is the right one. Intro: My game is a turn-based game that places units on a grid. I have a turn system in place that goes from one unit to the next based on certain conditions. I am in the last stages of making the...
  10. M

    Map protection and Q

    To reset the units I figured I'm just going to replace the building with another. About the map protector... I would like some more recommendations as I don't quite know what is reliable. If there is another post about them elsewhere please direct me. Thanks.
  11. M

    Map protection and Q

    I am about to release the beta for my map and I want a protection method. I have seen that many maps have a block that causes the map editor to error when the map is opened, causing it to shut down. Looking for recommendations for a program I can use and where I can find it. Misc: How can I...
  12. M

    CS for removing this leak?

    Lightstalker, Yeah, it does use the GUI player number references. So far I put in Komaqtion's text. I need confirmation of Lightstalker's point since I can't tell if it's working or not.
  13. M

    CS for removing this leak?

    In my map I have a lot of arrays that are set and referenced to using the function Player number of (owner of (unit)). This trigger is likely the one that will create the most leaks in my game, but I do not know how to remove the leaks from it. What it does is when a unit uses the move ability...
  14. M

    Defeat if enemy unit is in region

    Do an if, then integer check. Here is the GUI build order of the condition you'd make. You would then make the actions under it. Condition: (Integer comparision: count units in unit group: units in region matching condition: Player comparison: owner of matching unit does not equal player...
  15. M

    Trigger Leak help

    Sorry if it is improper to do this, but I thought it might be better to include it here rather than elsewhere. Here is another one that will probably create the most leaks in my game because it is used a lot. The custom script in it was given to me by a member of this forum, and I use it for a...
Top