code crashes game -1 reply

Please wait...

ssdcommander

admiral, you are needed

50 XP

16th December 2008

0 Uploads

266 Posts

0 Threads

#1 9 years ago

this code SPEECHDemointroA_Multimedia_Event crases my game when it starts up, not when it gets to it




Jedi_Lu

GF Pwns Me!

50 XP

12th October 2007

0 Uploads

55 Posts

0 Threads

#2 9 years ago
ssdcommander;4906012this code SPEECHDemointroA_Multimedia_Eventcrases my game when it starts up, not when it gets to it

:rolleyes: A Event required a event type, not only a reward type.

Event = Querie Reward = Action

I think you need a STORY_TRIGGER.

STORY_TRIGGERSPEECHDemointroA_Multimedia_Event

best regards, and read the fucking manual ;) Jedi Lu




ssdcommander

admiral, you are needed

50 XP

16th December 2008

0 Uploads

266 Posts

0 Threads

#3 9 years ago

i did, the event wouldn't fire, and some one told me to youse as a reward type




Sidious Invader

Dark Lord Of The Sith

50 XP

9th January 2007

0 Uploads

853 Posts

0 Threads

#4 9 years ago

It's great that you are trying to learn story scripting, but read the manual thats included with the mod tools. And search the files in folder where the stock xml's are kept for "SPEECH". It will then show you every file that has this in it. You can then see how Lucasarts used it in their scripts. It helps eliminate all the question threads.

i did, the event wouldn't fire, and some one told me to youse as a reward type

Since you have no "event_type" it doesn't know when to give the reward.

In basic programming it called an "if/then" statement.

If credit accumulation is 2000, then give credits 3000.




ssdcommander

admiral, you are needed

50 XP

16th December 2008

0 Uploads

266 Posts

0 Threads

#5 9 years ago

that makes it so much clearer thanks sidious