In SOCs, how do I...

Status
Not open for further replies.

Kaysakado

Member
Use the function A_SpawnRelative to spawn a Blue Crawla 0,0,0 from the object(In other words, on the object)? Also, I know you can have two functions used at once by using A_DualAction, but is it possible to have three functions used at once?
 
Well, the function A_SpawnObjectRelative can be simplified to:
Spawns an object on top of the object. Var2 = object to spawn.
While that's not EXACTLY what it does, it's definately worth it to simplify.

As for the three actions at once, that's what duration 0 is for.
 
OK, I got it to work except there's one problem: It's spawning green Sonics instead of blue crawlas! I put 1 for Var2.

EDIT: Never mind, I just forgot to press save, but now I have a new question: How do I change the angle at which the crawla is facing when it's spawned?
 
To have a crawla face you after it's spawned
make the nextstate of A_SpawnobjectRelative to be a state with A_FindTarget, (Var1 = 0 and var2 = 0), for a duration of 0, and then, have THAT have a next state of A_Facetarget.
 
But that would make RedXVI face the player, wouldn't it? I'll try anyway(Yes, I'm making RedXVI spawn the crawlas)

EDIT: I tried and it makes RedXVI face you, just like I predicted.
 
That's because you made RedXVI use A_FaceTarget, as opposed to the crawla. You can't make one thing directly influence another without A_RemoteAction.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top