I have problems

  • Thread starter Thread starter Kiyomori
  • Start date Start date
K

Kiyomori

Guest
I have two questions. And plz dont be mad because this is my first map so...

1. Is there a way to make items respawn after you pick them up?

2. Can someone help me with my leaderboard? It says I need variables??? What the heck does that mean?
:confused: :confused: :confused: :confused: :confused:
 
[X] No way to respawn items, unless you do it through some advanced trigger programming.

Leaderboard-

Create Leaderboard
Events
Elapsed time equal to 8 seconds (This is a must)
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled (Your map name)
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
Leaderboard - Show (Last created leaderboard)

Now you need a variable array to keep track of kills. Make an integer array called Kill_Count or something. To do that, go to EDIT, VARIABLES. Create a new variable, of type integer, and check the ARRAY box.

Then set up a SECOND trigger like this:
Tally Score
Events
Unit - A unit Dies
Conditions
Actions
Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kill_Count[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order

Best of luck.
 
THX

Thx so much! You rock. Im that much closer to finishing. Thx again.
 
Leaderboard - Create a leaderboard for (All players) titled (Your map name)
Player Group - Pick every player in (All players matching ((((Matching player) slot status) Equal to Is playing) and (((Matching player) controller) Equal to User))) and do (Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0)
Leaderboard - Show (Last created leaderboard)

where do u find "is playing"?
 
Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kill_Count[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort (Last created leaderboard) by Value in Descending order

where do u find "+ 1"?
 
Leaderboard

1. I changed mine to say elapsed game time, for your convenience.
2. I assigned window variables to mine, so I can show/hide often, easier.
3. I put conditions in my tally score, because Player 1 would always get random kills from no where. Sometimes things die and it doesn't know where to put them, it would give em to player 1. So that fixed it.

Code:
Create Leaderboard
    Events
        Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
        Leaderboard - Create a leaderboard for (All players) titled Your Leader Name He...
        Player Group - Pick every player in (All players matching ((((Matching player) slot status) 
        Equal to Is playing) and (((Matching player) controller) Equal to User))) and do
        (Leaderboard - Add (Picked player) to (Last created leaderboard) 
        with label (Name of (Picked player)) and value 0)
        Leaderboard - Show (Last created leaderboard)

Tally Score
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
        ((Owner of (Killing unit)) controller) Equal to User
    Actions
        Set Kill_Count[(Player number of (Owner of (Killing unit)))] = (Kill_Count[(Player number of (Owner of (Killing unit)))] + 1)
        Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to Kill_Count[(Player number of (Owner of (Killing unit)))]
        Leaderboard - Sort (Last created leaderboard) by Value in Descending order
 
how do you get the "and" between Equal to Is playing) and (((Matching player) controller)
 
If I'm correct, nobody has answered the first question, right?

Code:
Events:
    [Unit - Generic unit event]
    A unit acquires an item
Conditions:
Actions:
    Wait 20 seconds.
    Create (item type of (item being manipulated) at (position of item)

You could create a special effect or something at the location of that item…
 
Why not? The "item being manipulated" simply refer to the item being manipulated in that trigger, not the "last item being manipulated".
 
i want to have all players start with thier camera in the same place. the irritating thing is that i made the trigger and it worked, but then i deleted the camera and the trigger dissipared, and now i cant remember what i did. :rolleyes:
 
thx, what would i do without you, darg and mind. you WILL get special thanks in the map. in big, colorfull letters. :D
 
got another weird problem. when units spawn at a region called "earth barracks 2" the first set of units dont start to attack-move, but when the second set comes after 20 seconds it starts to move. its wierd because it works at all the other regions, but not at that one.
 
What is the event for that trigger?
Like this?
Code:
Events:
    [Time - Periodic event]
    Every 20 seconds of the game
Conditions:
Actions:
    [Unit - Create unit facing angle]
    Create 5 footman at [region] facing random angle
    [Unit - Pick every unit in region and do action]
    Pick every unit in [region] and do
    [Unit - Issue unit order to region]
    Issue order (picked unit) to move to [region]

That's how it should be, I think.

Perhaps it has something to do with the integer conditions or something, because you say the first time it doesn't work.
Perhaps you accidently added the condition "Evaluation count of this trigger is not equal to 1" or "Execution count of this trigger is not equal to 0"

thx, what would i do without you, darg and mind. you WILL get special thanks in the map. in big, colorfull letters. :D

Don't forget SD_Ryoko eh?
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1
  • The Helper The Helper:
    Weekend went by too fast. Next weekend I am going to try to do a nature thing - buddy of mine lives by the Colorado river and has some kayaks and invited me to do some kayaking from a place he knows to get on the river.
  • Ghan Ghan:
    That sounds like an adventure.
  • The Helper The Helper:
    400 users all online all looking at latest content

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top