Flight Paths

Saiza

New Member
Reaction score
10
Yo !

I got a problem I hope someone is willing to help me with, well here it is;

I have flight paths in my RPG, basicly once I buy a ticket to a certain place a Gryphon Raider spawns with the Goblin Zeppeline load and unload skill, and then it should load the hero buying the item and fly with it to the destination and then unload it at the destination region. Heres triggers, but they dont work =/
I whonder if someone know a better way to do it;

Training Forest 1
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Flight Ticket: Training Forest
Actions
Unit - Create 1 Gryphon for Player 1 (Red) at (Position of (Hero manipulating item)) facing (Position of Gryphon Aviary 0016 <gen>)
Unit - Order (Last created unit) to Load (Hero manipulating item)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit - Order (Last created unit) to Move To (Center of Flightpath Burrins Expedition <gen>)


Training Forest 2
Events
Unit - A unit enters Flightpath Burrins Expedition <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Gryphon
Actions
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Order (Picked unit) to Unload (Hero manipulating item))
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
Unit Group - Pick every unit in (Units of type Gryphon) and do (Unit - Remove (Picked unit) from the game)

Edit: How do I do so the trigger goes in to a code text?
 

Darkchaoself

What is this i dont even
Reaction score
106
Well, is the gryphon the same player as the hero using the item?

If there are more than 1 person, it should be

Code:
Unit - Create 1 Gryphon for owner of (Hero manipulating item) at (Position of (Hero manipulating item)) facing (Position of Gryphon Aviary 0016 <gen>)

And its [noparse]
Code:
[/noparse]
 

Choppa

www.warcraft-gamers.po.gs
Reaction score
59
Code:
For this you click the # button in advanced text editor.

So the first trigger doesn't work?

Code:
Unit - Create 1 Gryphon for Player 1 (Red) at (Position of (Hero manipulating item)) facing (Position of Gryphon Aviary 0016 <gen>)
That's probably not the reason but you've tried to make it face the angle of where the aviary is, I'm not sure if you can do that, make it face the angle of the angle the aviary is facing.

And for you condition...
Code:
Conditions
    (Item-class of (Sold Item)) Equal to Flight Ticket: Training Forest
 (Item-type of (Sold Item)) Equal to Flight Ticket: Training Forest

Use one of those, it might only be one that works so try both, I've never used it before but meh.
 

MoonSlinger

I Love using Cheap Tricks... only Results matters
Reaction score
74
Somethings to note:

- Other then load/unload, the carrier still needs "Cargo" space to hold the unit.

- Unless its is a 1 player RPG, its better to create the transport for the player who "buys the ticket". From what i know, if the owner of the "carrier" and the owner of the unit is different, they need to share full control of each other before "Transporting" can work. To prevent user control during the flight, you can use locust ability for the "carrier" OR the following:
Cinematic - Disable user control for (All players matching ((Owner of (Triggering unit)) Equal to Matching Player))
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Flightpath Burrins Expedition <gen>) over XX seconds


If you time your flight correctly with XX seconds, will end up as making cinematic of the flight, do remember to enable control when you reach the destination.
 
A

Awestruck

Guest
yeah, maybe
Code:
item being manipulated
doesn't refer to the item being acquired in
Code:
A unit Acquires an item

i would use the
Code:
A unit sells an Item
like choppa is saying

although in my experience using "item-type" works when refering to items being sold.

EDIT:
MoonSlinger: instead of panning the camera he can lock it to the gryphon; and instead of timeing you can measure the distance and divide with the speed as: t=(t/d)/t
't' is time and 'd' is distance

this is done as so:
Code:
Wait ((distance between (position of Gryphon) and (destination)) / >speed of Gryphon<
the unit has to be moving in a straight line for this to be accurate (if it's flying it probably will be)
"destination" can be any point...
the speed of the gryphon (or whatever unit) can be found in the units object editor page in the category "movement", or you can get it with:
Code:
Unit - Movement Speed (Current)
 

Saiza

New Member
Reaction score
10
It's a 1 man RPG and I got locust on the zeppe, also the item is just laying on the ground now when the game starts for testing, so the ''a unit aquiers a item'' would work. Does anyone possibly know how to order a goblin zeppe to load and unload a unit in jass? (It's the Load Goblin Zeppe and Unload Air Transport or something it's using)
Code:
Yay ;)
 

Pigger

New Member
Reaction score
13
It could be locust that is screwing it up. Try taking that off of the zepplin and see what happens.
 

NapaHero

Back from the dead...
Reaction score
43
Locust don't screw up with load and unload.

This is the best one to work:

Somethings to note:

- Other then load/unload, the carrier still needs "Cargo" space to hold the unit.

- Unless its is a 1 player RPG, its better to create the transport for the player who "buys the ticket". From what i know, if the owner of the "carrier" and the owner of the unit is different, they need to share full control of each other before "Transporting" can work. To prevent user control during the flight, you can use locust ability for the "carrier" OR the following:
Cinematic - Disable user control for (All players matching ((Owner of (Triggering unit)) Equal to Matching Player))
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Flightpath Burrins Expedition <gen>) over XX seconds


If you time your flight correctly with XX seconds, will end up as making cinematic of the flight, do remember to enable control when you reach the destination.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top