HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Freaking Triggering

03-10-2007, 09:30 PM#1
OwnorzeD
This is a problem that constantly comes up when I've done a little triggering.

When I save my map after triggering let's say a short cinematic sequence there's always some error coming up regarding something. I just recently triggered a short cinematic sequence and the error says there's 73 compile errors. "Invalid number of arguments" "Expected a code statement" "Expected a function name".

I can't really say I'm a pro at triggering, but I doubt I did so many mistakes on my triggering. This error had this text marked after saving the map.

Quote:
call CreateItem( 'lhst', -2179,3, -3965,4 )

Any ideas of why this kind of things happen? (If you need a picture of my trigger function just let me know and I'll post a picture.)
03-10-2007, 09:38 PM#2
blu_da_noob
You have commas instead of periods for your decimal separators. Now lemme see if I can remember how you change that again :S
03-10-2007, 09:38 PM#3
shadow1500
It seems like the dots are replaced with commas. Do you happen to use any preprocessors?
03-10-2007, 09:46 PM#4
blu_da_noob
Ok got it. Go to Control Panel -> Regional Options -> Numbers -> Decimal Symbol and change it to a '.' (without quotes obviously).
03-11-2007, 09:38 AM#5
OwnorzeD
Thanks for the help guys. I'll let ya know if it worked. :)

**EDIT**

It seems to work perfectly now, thanks alot for your help guys.