Jump to content

Caravan modding + help on 2 issues.


wcho035

Recommended Posts

Hi, I have been modding for a while, but there are two problems that fustrate me, which prevent me at finishing my current mod.

 

Firstly, my caravan mod is a mod where a Caravan follows you from position a to b, after you reach b you get paid. That is if the Cavavan is not blown up or slaugthered.

 

The Caravan is first generated when you agree to take it from a trader base in a town, after a conversation with the trader. The caravan is generated via the "player.placeatme" commands.

 

Then the caravan will use the follower AI I have developed for my companion mod to follow me around till I reach destination B.

 

That is where I hit trouble.

 

Firstly how to delete the caravan I have generated from the "player.placeatme" commands after they had paid me.

 

I had tried using the commands.

disable

markfordelete

 

This crashes my game everything. Then I tried to figure out how they did it with the Anchorage game for hiring the soldiers and fire them. It uses a varibale 03, but it does not link to any A.I packages nor the Scripts make any senses what so ever.

 

That is my first problem.

 

The second problem is the position B or the destination, where the Caravan master recognised that it had reached it't destination and he agree to pay me.

 

I do know that Xmarker does come in, and you expand the radius of the Xmarker so when the caravan master come into the sphere of the radius he knows he had reach the destination.

 

Can someone help me with the coding in my script to allow this to happen?

 

All I need to know is the right functions to call.

 

I mean I can create a variable say destinationA. I need something to that the Caravan master detect the Xmarker and so I assign a numeric value to destinationA and the rest from there is

pretty much sweet as.

 

Please help. Thanks.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...