Home   Help Search Login Register  

Author Topic: intro statup  (Read 1454 times)

0 Members and 1 Guest are viewing this topic.

bored_onion

  • Guest
intro statup
« on: 08 Jul 2004, 21:13:22 »
whenever i start my intros i use triggers to switch to a camera or create a camera etc. however, there is always a brief few seconds when the player is visible before the trigger becomes active and the intro actually starts.
its not a major problem but it looks kind of unprofessional. is it my CPU or is it a problem that has a simple solution? i appreciate any suggestions greatly

thank you

ponq

  • Guest
Re:intro statup
« Reply #1 on: 08 Jul 2004, 21:22:40 »
start your intro from the init.sqs.

If you don't have that file in your mission folder, create it, and put these lines in it:

[] exec "yourintrofile.sqs"

Hope this helps.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:intro statup
« Reply #2 on: 09 Jul 2004, 02:10:02 »
Or for an even more reliable way, call your intro script driectly from the player's init field.

This is always the first thing executed when a mission starts.

Also, bear in mind that if you want to start your intro script from the init.sqs, for anything created in the intro section of the editor, the script will need to be called: 'initintro.sqs'.

init.sqs will automatically run at the beginning of the mission.
initintro.sqs will automatically run at the beginning of the intro ;)

Hope that helps you out.
« Last Edit: 09 Jul 2004, 02:11:49 by Sui »