• 0

    posted a message on Retrieving APM for "triggering player"

    @marktronic: Go

    In your initialization, add all active players to a player group (or use active players but thats fickly with computers)

    Event: Every 1 second of game time Actions: Pick each player in player group (the player group you designated) and do actions Do your 4 bank actions Done!

    If your doing apm though i suggest something better. BC that is just overwriting the APM before. Create a new variable elapsed time in the bank, increment it by 1 for each player every second. Then do some beast arithmetic.

    Import the previous APM as a variable (or directly but its sloppy) (i call this pAPM) Import the seconds elapsed (i call this Elapsed) Multiply pAPM by Elapsed (before incrementing seconds) Add current APM... Divide by (Elapsed+1) Now add it to the bank.

    This takes the old average, recreates the sum that formed the average before division by terms, add a term, then finds a new average by dividing by terms + 1 (the new amount of terms).

    Posted in: Triggers
  • 0

    posted a message on Merging attack effects

    I have a simple problem on my hands. (Simple imo) The predator attack in campaign is awesome with its mini AoE. I want to add that AoE effect to every time a probe attacks, not periodically like it describes it. Every attack, the AoE fires. I also need a second move where the probes normal attack range is increased.

    Im a complete noob to the data editor, only modified speed, supplies, and health before so please be specific. Sorry if I'm asking a lot.

    Posted in: Data
  • 0

    posted a message on Are there inventory checking variables?

    I'm happy! The map works, gameplay is being tested but core components work. Private BETA v0.1 is running. Got to fix leaderboard, and a few other visual things then its perfect.

    Posted in: Triggers
  • 0

    posted a message on Are there inventory checking variables?

    @MarcusFell: Go

    for that toggle fog of war part, only options are grey mask, black mask, black mask (reduced radius), and the base height. so no clue where clear fog of war is.

    Posted in: Triggers
  • 0

    posted a message on Are there inventory checking variables?

    Probelm 1 solved, just gotta make only active players probes spawn initially.

    Problem 2 solved, tested it with ally.

    Problem 3 not solved, i tried to make the pylon indestructible but if attacked by probe it loses health not by attack, gotta upload the map to try that bc the enemy pylon isnt spawning. I think i'll just have the pylon a health marker and do a region entrance makes it lose health.

    Problem 4 not solved, its simple but I cant figure it out, i may just make pylons have really long fision and put them around the arena, alternating teams.

    NEW PROBLEM: Trying to get rounds to work but nothing yet, i got round ends working by timer but I have to fix the alternative ending of the round.

    Posted in: Triggers
  • 0

    posted a message on Are there inventory checking variables?

    Hello SC2Mapster Forums, I am LZ Ravanger making my debut with a classic map almost everyone will know. Somehow it hasn't been published here so I won't give away my idea since someone will be dumb and steal it. Current problems I have or things I haven't addressed.

    1. When a players 1 probe dies I need to know how to use the timer to set a 3 second respawn. Seems simple but never got to it yet.

    2. I have a system where if a probe is holding minerals and is killed, the killer gets the minerals its holding, but no way how to do it. I just can't find the inventory variables that will work.

    3. Now another one involving inventory. I want a probe to be able to hit other probes normally, but when holding minerals it gains more health and can it hit buildings, (the building must take different (more) damage than the probes)

    4. I want all players to have full field vision, don't know how that works though but I bet its easy.

    If you can help please either PM me or reply here. If you want to know more about my idea, feel free to PM me, but don't expect me to just give out info.

    Thanks in advance,

    LZ Ravanger

    • I'm going to be busy tonight and tomorrow morning so replies will come probably at midday. Other problems will also probably arise so check the edits, and please direct me to the right section if this thread is in the wrong one. I didn't put it in project workspace b/c im not revealing information.
    Posted in: Triggers
  • To post a comment, please or register a new account.