generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: so i have this idea for a terminal

Previous Thread :: Next Thread 
Scarvis is not online. Scarvis
Joined: 02 Dec 2008
Total Posts: 14213
23 Aug 2014 04:39 PM
its where a team would start to earn points when they own more flags then the other team


like if blue has 1 flag and red has 0 blue would get points ect





I just have no idea where to start on scripting it
Report Abuse
Saodo is not online. Saodo
Joined: 26 Jul 2011
Total Posts: 1206
23 Aug 2014 04:58 PM
That's not exactly original...
and if you don't even know where to start I would start learning a bit of lua. Then ask help on a specific part you are struggling on that you can explain to us.

Il get you started..

First you need to establish how many flags there are. (you need an odd number)
Then you need a script that will allow 1 of two teams to capture that flag by performing an action. Once that flag has been captured maybe use some sort of global integer value to determine which team has captured the flag. i.e.

0 - for un-captured
1 - for blue
2 - for red

you can then determine how many 0's,1's,2's there are out of the total number of flags to see which team has more.

Once you have determined who has more flags use a simple loop script to increment scores.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
23 Aug 2014 05:12 PM
THIS IS REALLY ORIGINAL GOOD JOB
Report Abuse
Scarvis is not online. Scarvis
Joined: 02 Dec 2008
Total Posts: 14213
23 Aug 2014 05:16 PM
ya
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image