Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Feb 15, 2013 at 01:05 AM by DaveA for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by TrollHachem · Feb 14, 2013 at 01:05 PM · order

An Order Of The Objectives

Hi Everybody!

So I Want To Make A Game That Have A Specific Order Of Objectives (Like a Mission In GTA) , So I Have All The Scripts To Accomplish The Objectives , But I Didn't find A Way To Order Them. Like First I Should Collect That Item , Than i should Kill Someone Etc.....

Thanks For The Help

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ockyboo · Aug 25, 2020 at 07:06 PM 0
Share

how did you solve this? I'm trying to do the same thing.

avatar image Llama_w_2Ls ockyboo · Aug 25, 2020 at 10:56 PM 0
Share

Well you could have a script dedicated to just storing a bunch of public bools. Then put those bools in an array or a list-kind-of-format and script it to say:

 if(bool1 == true)
 {
      if(bool2 == true)
      {
           if(bool3 == true) //... etc etc
      }
 }

This will mean that the last bool in the list/array can only be true if the one before it was true, which can only be true if the one before it was true, and so on. This would create an objective based system that would basically be like a checklist, where each box has to be ticked off in order, for the objective to be completed.

You can reference the bool-dedicated script in all of the scripts for completing individual tasks, and set the correct bools to true for each specific task. Hope this gives you something to start off with. @ockyboo

1 Reply

  • Sort: 
avatar image
0

Answer by TrollHachem · Feb 15, 2013 at 01:02 AM

Hey Guys , No Need To Answer This. I Figured it out^^

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Two monobehaviour scripts attach to one gameobject and the Update order predicable? 3 Answers

order scripts are called 1 Answer

How can an Asset Store publisher verify the number of licenses sold? 2 Answers

Why does hierarchy order change at runtime? 1 Answer

Image Layer Order 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges