Jump to content
Sign in to follow this  
EiZei_

spawn does not work?

Recommended Posts

Hello,

It's been a while since I made missions for BIS games so I might be forgetting something but here it goes..

When I try to make a trigger execute a body of SQF code like this, for example:

On Act.

[] spawn { player globalChat "This is run in parallel."; };

I get an error message saying "Type script, expected nothing." Has the syntax changed or what am I doing wrong here? :confused:

On a sidenote, is there a list of vehicle weapons and ammunitions somewhere? Can't seem to find it.

Share this post


Link to post
Share on other sites
I get an error message saying "Type script, expected nothing." Has the syntax changed or what am I doing wrong here? :confused:

Add _handle = before [] spawn

_handle = [] spawn { player globalChat "This is run in parallel."; };

On a sidenote, is there a list of vehicle weapons and ammunitions somewhere? Can't seem to find it.

Just two threads above yours...

http://forums.bistudio.com/showthread.php?t=73241

Xeno

Share this post


Link to post
Share on other sites
Add _handle = before [] spawn
reads above yours...

http://forums.bistudio.com/showthread.php?t=73241

Xeno

Already read that, I see that they have all the personal weapons, vehicle and unit classnames but I fail to find the classnames of [b]vehicle[/b] weapons. Are you sure they are in there?

Share this post


Link to post
Share on other sites
Already read that, I see that they have all the personal weapons, vehicle and unit classnames but I fail to find the classnames of vehicle weapons. Are you sure they are in there?

You can allways read out the config or a vehicle or depbo the addon and unbin the config file.

Xeno

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×