What buffInstantActionType to use?

Alright, I'm trying to make an ability that spawns several different types of units around the caster. The standard create frigate/squad buffInstantActionTypes didn't work because they can only spawn one type of unit and I found no where to reference any additional buffs. Looking at the buff related enumerations Blair posted, SpawnShipsAtPlanet looks promising, but I couldn't find an example of an ability that uses the InstantActionType. Does anyone know of an ability that uses this or of another InstantActionType that would work?

 

Thanks in advanced.

36,231 views 9 replies
Reply #1 Top

SpawnShipsAtPlanet is the Fleet Beacon - ships come through hyperspace.

I don't think you'll be able to do what you want to do without some crazy linked buffs. Something like spawning a dummy ship which has two abilities to spawn two more dummy ships to spawn your objects = 8 or whatever.

EvilTesla did a similar but probably way more complex version of this here

Reply #2 Top

 

You can just use multiple instances of CreateFrigate in the buff, to test (Because I was unsure if there was a limit to the number of instantActions a buff could have) I just got it to spawn 5 different types of ship.

To be more specific. For the ability you simply use ApplyBuffToSelf, then in the buff file you can have as many instances of CreateFrigate as you require.

 

Reply #3 Top

actully, using "SpawnShipsAtPlanet" for multiple types of ships wouldn't be to bad..as Terrzeil pointed out.

 

Yea..that NVAM ability was an ability I desined to COMBINE four specific ships into one ship.

Reply #4 Top

I actually had it using ApplyBuffToSelf at first, but none of the frigates spawned that way (I take it you got a buff to work this way Terraziel?). I was also wanted to spawn strikecraft at the same time, but I guess I could make SpawnShipAtPlanet work.

Reply #5 Top

Yeah, I can assure you it works, As a shot in the dark as to why yours didn't, If it wasn't already try setting the TriggerType to OnDelay 0.000000, I've had issues with using CreateFrigate set to AlwaysPerform.

+1 Loading…
Reply #6 Top

Thanks Terraziel, I guess the trigger type was actually the problem. Works like a charm now. :grin:

Reply #7 Top

You can use CreateFrigate in the buff!?!? I thought it was only usable in the ability file. Could somebody post an example buff using it?

Reply #8 Top

Here, because i had one uploaded somewhere already.

http://www.mediafire.com/?dn2mmmzdnng

You just want BuffMVAMSeparate.entity

EDIT: hmm, had I thought about it, I could have uploaded this earlier. 

Reply #9 Top

Sweet, thanks.