Hosted Projects - Standalone > Diaspora Multiplayer Open Beta
Mission 2 - The Strike
Geallen:
Its when I'm making my own missions from scratch. I just have a fade in, a message is sent. Then the Viper is launched.
Edit: I thought this topic appropriate since the Multi-beta DL-link is on this topic.
karajorma:
If you want, I can take a look at the mission. Or you can just post the SEXPs involved in the launch.
Geallen:
This is the SP version wherein I test stuff. So its only meant to accommodate one player. I didn't put any triggers/timers on it to trigger it yet, because I just wanted to see that it worked.
$Formula: ( when
( true )
( do-nothing )
( multi-eval
"tblParShip('BS Dalliance')"
( true )
)
( multi-eval
"tblSelDock('Stbd Tube1')"
( true )
)
( multi-eval
"tblSelShip('Alpha 1')"
( true )
)
( multi-eval
"tblLaunch('Alpha 1')"
( true )
)
)
+Name: Tube Launch Alpha 1
+Repeat Count: 1
+Interval: 1
+Chained: 5
karajorma:
Try having two events instead and putting a delay between the events with the docking and the launch.
Geallen:
I get an error now whenever I try to launch. I took your suggestion and put it up intwo different parts. First I chained the launch part with no delay to the first scipts. Then I unchained it. When I break into debugger mode I just have no sound or camera shake, but have the same results as when I didn't run into an error.
This was the same error as to when I didn't have the data needed. Also was the same for both failed script executions. Will put a DL link up soon. The mission itself isn't really filled to the brim with events as I've been working to make my first complete.
http://www.sendspace.com/file/ba0emr
Could not find index 'Player' in type 'HookVariables'
------------------------------------------------------------------
ADE Debug:
------------------------------------------------------------------
Name: (null)
Name of: (null)
Function type: (null)
Defined on: 0
Upvalues: 0
Source: (null)
Short source:
Current line: 0
- Function line: 0
------------------------------------------------------------------
------------------------------------------------------------------
stack traceback:
[C]: ?
[string "tubeLaunch-sct.tbm - On Gameplay Start"]:132: in function 'processLaunchStartDef'
[string "tubeLaunch-sct.tbm - On Gameplay Start"]:113: in function 'processTubeDef'
[string "tubeLaunch-sct.tbm - On Gameplay Start"]:100: in function 'onFrame'
[string "Simulation"]:2: in main chunk
------------------------------------------------------------------
1: Userdata [HookVariables]
2: String [Player]
------------------------------------------------------------------
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version