Jump to content

SpawnMob method Z Coord not see


Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Premium
1 hour ago, kaJaMrSimple said:

I specify the z coordinate as 2, it reacts as if the coordinate is random.

 

I want to set the direction of mob.

 

What should I do?

Z coordinate is not the direction the mob is facing..

 

either use

d.spawn_mob_ac_dir

(vnum, x, y, dir [0..359])

(if you input -1 instead of a number between 0 and 359, it will choose a random dir between 0 and 359)

or

d.spawn_mob_dir

(vnum, x, y, dir [1..8] {(direction - 1) * 45})

(if you input 0 instead of a number between 1 and 9, it will choose a random dir between 1 and 8 )

Edited by Syreldar

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
Just now, kaJaMrSimple said:

The system I made is completely source-based. I don't want to use quest.

Use your brain based on what I told you, then. duh. Said functions are inside the sources, look them up.

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 4

      [Discussion] Rain - The First Person that leaked the M2 Files

    2. 4

      [Discussion] Rain - The First Person that leaked the M2 Files

    3. 0

      [Client] All tabs opening after quest/npc talk or even shop // PORTS

    4. 0

      Arrow does not hide at warp

    5. 0

      Problem with sidebar by vegas

    6. 58

      Discord Rich Presence

    7. 145

      Full Costume Mount System

    8. 3

      Memory allocation for beginner

  • Recently Browsing

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

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.