Seriously!
Go Back   Seriously! Forums > Serious Sam Series > Serious Sam 3

Serious Sam 3 Everything you want to know or say about Serious Sam 3!

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-16-2016, 09:19 AM   #1   Add To Ignore List  
Kamikaze
 
Cactus's Avatar
 
Joined: Jun 2016
Location: Italy
 
Cactus is offline Steam ID: middlerthj
Question [SOLVED] Script error or bug? Serious Editor 3.5

Hello guys, i was making a custom campaign and i was doing a camera that shows up a boat appearing. The camera works fine, but the effects and boat do not appear, some help?

Code here (The 2 points and the word after them are together, just the site recognizes them as smiles :p ) :
Boat1: Disappear()
Wait(Delay(3))
CameraIntro: PlayAnimWait("Default")
Wait(Delay(2))
CameraIntro: Stop()
Sound1: PlayOnce()
LighBoat1:Activate()
Strike1: Start()
Wait: Delay(2)
Boat1: Appear()
WaterEffects1: Start()
Wait(Delay(1))
LighBoat1: Deactivate()
Strike1: Stop()

Last edited by Cactus; 06-16-2016 at 10:34 AM.
  Reply With Quote
Old 06-16-2016, 09:45 AM   #2   Add To Ignore List  
Kamikaze
 
Cactus's Avatar
 
Joined: Jun 2016
Location: Italy
 
Cactus is offline Steam ID: middlerthj
Default Re: Script error or bug? Serious Editor 3.5

SOLVED
  Reply With Quote
Old 06-16-2016, 09:57 AM   #3   Add To Ignore List  
Goodbye Moonmen
 
Discy's Avatar
 
Seriously! Khnum
Joined: Jul 2003
Location: The Netherlands
 
Discy is offline Steam ID: joey42
Default Re: Script error or bug? Serious Editor 3.5

Hello and welcome. Good to see you solved your problem, but what's the solution? In case someone has the same problem and finds this thread.

Also, if you ever want to paste code again just wrap it in [code] [/code] tags to make it appear like this:

Code:
Boat1:Disappear()
Wait(Delay(3))
CameraIntro:PlayAnimWait("Default")
Wait(Delay(2))
CameraIntro:Stop()
Sound1: PlayOnce()
LighBoat1:Activate()
Strike1:Start()
Wait:Delay(2)
Boat1:Appear()
WaterEffects1:Start()
Wait(Delay(1))
LighBoat1:Deactivate()
Strike1:Stop()
__________________
"Is there any better Gerüstbaufirmenvorarbeiterschlüsselanhängerfarbenwasserlöslichkeitskontrollchemiker than discy? No!" -Shrinker
[22:30] Fiendian: Discy, Finzy and Louva shall merge into a superentity known as the Lickyfonz.
"Can we just move Discy's posts to the HOF automatically already? :P" -Jetty


Ir-Kalla: Serious Sam Classic map pack in development (Ir-Kalla: Egypt Demo)
  Reply With Quote
Old 06-16-2016, 10:23 AM   #4   Add To Ignore List  
Developer Fairy
 
Solais's Avatar
 
Croteam Representative
Joined: Nov 2009
 
Solais is offline Steam ID: SolaisYosei
Default Re: Script error or bug? Serious Editor 3.5

My guess is that he didn't set the model and the effect to be controlled by scripts.
__________________
Since Old Lost Age I Shine

My Serious Sam 3/HD Workshop


While I do work for Croteam, I'm first of all of this community, so my opinions are my own and do not represent Croteam's views.
Unless when I use this nice blue color I totally didn't steal from Blizzard.
  Reply With Quote
Old 06-16-2016, 10:30 AM   #5   Add To Ignore List  
Kamikaze
 
Cactus's Avatar
 
Joined: Jun 2016
Location: Italy
 
Cactus is offline Steam ID: middlerthj
Default Re: Script error or bug? Serious Editor 3.5

There was a sintaxis(?) mistake, wrote
Code:
Wait:Delay(5)
I splitted the script in 2 becouse he was stuck on the animation. So, it is like this now:
SCRIPT 1:
Code:
Boat1:Disappear()
Wait(Delay(33))
AudioIncoming:PlayOnce()
Wait(Delay(10))
Sound1:PlayOnce()
LighBoat1:Activate()
Wait(Delay(1))
Strike1:Start()
Wait(Delay(1))
Boat1:Appear()
WaterEffects1:Start()
Wait(Delay(1))
LighBoat1:Deactivate()
Strike1:Stop()
SCRIPT 2:
Code:
CameraIntro:PlayAnimWait("Default")
Wait(Delay(4))
CameraIntro:Stop()
And, nono, I already setted them up for scripting, just that error where it got stuck
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serious Editor Error with Torus Rakanishu Serious Sam Classic 2 01-22-2012 06:14 AM
any Script Editor ? wgarnett Serious Sam Classic 9 09-13-2009 04:21 AM


All times are GMT -4. The time now is 08:33 PM.