Jump to content
  • 0

Need a bit of help with spawning sappers (Solved)


Xplodin

Question

Well, I got the menu up and all and decided to take an old script (I dont know the codes and know little about scripting)

I added a "Spawn sapper and cultist" script.

Now the only problems I run into are:

Sapper appears as friendly and either stands still or moves around aimlessly.

I walk up to him in his face wondering if he will allahu akbar my life, but sadly no explosion.

 

 

As for the cultist... He wont spawn. (I know he spawns at night, but I thought that was just he would spawn "Naturally" at night. Even though I believe the reason he wont spawn in day was because, its day.)

 

 

And btw heres what I got for the spawn script:

_pos = screentoworld [0.5, 0.5];
_East = creategroup EAST;
"Epoch_Sapper_F" createUnit [ _pos, _East];

Reason for remotely spawning sappers?
Well no reason, I just like to mess with features on my own server. Kinda testing cool things out within the mod and noting how cool it is.

(I got a constructer on my server too, but of course, he wont move much or do anything because hes not finished.)

 

The info I was looking for was below in the replies.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You forgot to attach his brain, doh.

How would I go on to do that?

Thank you for replying.

I cant remember where to look for his special AI needs brain. lol

 

EDIT: I think its this line I need to add onto it.

call EPOCH_sendPublicVariableClient;

Please correct me if I am wrong.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...