Seriously!

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

Serious Sam HD Discuss anything and everything about Serious Sam HD, the official remake of SS:FE on Serious Engine 3.

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 07-15-2013, 03:24 PM   #1   Add To Ignore List  
Pan
Silver Lined Boots
 
Pan's Avatar
 
Joined: May 2007
Location: Looking for Snake
 
Pan is offline
Default Help with message script (3.0)

So I'm using a Script to control a few Trigger entities, a barrier field and a Detector area entity in order to run a few events for me simply and cleanly. But it's not executing properly and would love some help figuring out why it won't start when I tell it to.

It does, however, do things like remove the barrier field when I tell it to...

Code:
Wait(Event(DetectorArea.Activated))
Seconds:PlayOnce()
Wait(Delay(1.00))
KartInfo:PlayOnce()
Wait(Delay(10.00))
Secondsten:PlayOnce()
Wait(Delay(7.00))
Secondsthree:PlayOnce()
Wait(Delay(1.00))
Secondstwo:PlayOnce()
Wait(Delay(1.00))
Secondsone:PlayOnce()
Wait(Delay(1.00))
BarrierField:Disable()
Go:PlayOnce()
All the messages have been linked to the proper variables. Assistance appreciated.
__________________
"Don't you have to be told to do things to be considered a slave?"
  Reply With Quote
Old 07-15-2013, 04:01 PM   #2   Add To Ignore List  
Pan
Silver Lined Boots
 
Pan's Avatar
 
Joined: May 2007
Location: Looking for Snake
 
Pan is offline
Default Re: Help with message script (3.0)

There was an error message I didn't see - it says PlayOnce is not a valid function for the SS1Trigger entity. If that isn't what I use to activate it, what is?
__________________
"Don't you have to be told to do things to be considered a slave?"
  Reply With Quote
Old 07-15-2013, 05:29 PM   #3   Add To Ignore List  
Developer Fairy
 
Solais's Avatar
 
Croteam Representative
Joined: Nov 2009
 
Solais is offline
Default Re: Help with message script (3.0)

Um. Why do you even need scripts to operate SS1 Triggers? You can just operate them with... well, triggers and SS1 Touchzones. SSHD is better suited for that kind of thing than 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.
  Reply With Quote
Old 07-15-2013, 11:03 PM   #4   Add To Ignore List  
Pan
Silver Lined Boots
 
Pan's Avatar
 
Joined: May 2007
Location: Looking for Snake
 
Pan is offline
Default Re: Help with message script (3.0)

As I said in the first post, I wanted to do it more cleanly. I know I can do it without scripts but I preferred this way.

Less questioning the reasoning, more making with the assistance.


Edit: Did it the clunky way regardless. Disregard this.
__________________
"Don't you have to be told to do things to be considered a slave?"

Last edited by Pan; 07-16-2013 at 12:09 AM.
  Reply With Quote
Old 07-18-2013, 11:04 AM   #5   Add To Ignore List  
Finzy Corp. CEO
 
Finzy's Avatar
 
Joined: Sep 2005
Location: Whatshisoffice
 
Finzy is offline
Default Re: Help with message script (3.0)

Quote:
Originally Posted by Pan View Post
There was an error message I didn't see - it says PlayOnce is not a valid function for the SS1Trigger entity. If that isn't what I use to activate it, what is?
PlayOnce is typically used for sound entities, I don't think there are any other entity types that would use it. You should see the supported functions for a variable automatically as you type in the variable, at least in the SS3 editor. If not, press tab while having it highlighted in script editor.

I haven't used the SSHD editor in a long time, but something like Activate() or Start() would seem much more logical for triggers, look for something like that in the functions list.
  Reply With Quote
Old 07-18-2013, 11:19 AM   #6   Add To Ignore List  
Pan
Silver Lined Boots
 
Pan's Avatar
 
Joined: May 2007
Location: Looking for Snake
 
Pan is offline
Default Re: Help with message script (3.0)

I'll take a look, thanks.
__________________
"Don't you have to be told to do things to be considered a slave?"
  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


All times are GMT -4. The time now is 11:52 PM.