Jump to content
Sign in to follow this  
Rejn

Vehicle crew spawn probs

Recommended Posts

I have 1 or two vehicle spawn scripts made. One works fine, the other one has difficulties.

Both scripts are exactly the same.

I spawn 3 crewman but each crewman has this addeventhandler in the script. Basically I want the bodies to hide when the units die.

I have infantry spawn scripts running as well and perhaps its just overload but it gives me errors when I try to have the crew moveingunner/moveincommander/moveindriver

I get type bool expected object. I also used to get the error with a group already on the map that was assigned to a helicopter. So mabey its overload. I have about 50 units spawning all with eventhandlers etc.

Im just wondering has anyone ealse had similar problems and how did they get rid of them or what was the most effetive way for them to spawn a vehicle crew inside its spawned vehicle?

And yes the vehicle name is the name I have the units assigned and moved to so I see no reason for the error. In fact the error is selective ... sometimes the move works other times i get the error.

Share this post


Link to post
Share on other sites

Hi m8,

I'm not sure but if you're trying to respawn non-playable AI and put them in respawning vehicles I wrote some scripts a while back that maybe of help.  You can get the latest versions of these scripts in this thread: http://www.flashpoint1985.com/cgi-bin....7;st=15

I've also got a version that works with Kronzky's UPS script which you can find here in this thread: http://www.flashpoint1985.com/cgi-bin....=norrin

These have only been tested on ver 1.05 so I don't know if they'll work with the latest version.

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  

×