Jump to content
timmiej93

How do I spawn a civilian vehicle?

Recommended Posts

Can these spawn points be regulated by scripts too, or do they just spawn vehicles randomly? I need to spawn these vehicles on call.

In that case it is proberly easier to make them spawn in a virtuel object and then just give them the path they need to drive :)

Link to comment
Share on other sites

You can get it to do both things :) 

Path();		Path(const Path& Obj_);		Path(const Actor* Act_);		~Path();		virtual bool IsValid() const;		void SetOnFinishDeleteObject( bool delete_);		bool GetOnFinishDeleteObject() const;		void SetPathType(PathType type_);		PathType GetPathType() const;				Vector GetStartPosition() const;		float GetDistance(const Vector &Pos_) const;		float GetPathSpeed();		int GetNumPoints();		Vector GetPoint(int index_);		int GetPointID(int index_);		Vector GetNearestPoint(const Vector &v_);		int GetNearestPointIndex(const Vector &v_);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...