ID:155621
 
Code:
none


Problem description:I SUCK AT SCRIPTING thats why i came here many people have helped me in the past and thank you for that but this is a all new high
heres the thing
1.i DID read through the WHOLE guide took me a week but i did and i cant get anything out of it as a few people may know i dont get stuff from reading easily
ok now the problems
1.i cant get my mob to move and i hella sure know that i cant get them to chase after the usr
2.i cant get overlayers-underlayers
3.i CANNONT get a enemy to attack the usr

2 and 3 i tried the most on mainly 2 but i CANNOT get it

if any kind souls could help me with these problem many of you are probably like gah hes to newbie to even answer im leaving or this is to long im leaving but if you could do anything to help me THANK YOU!

END TRANSMITTING.


Well most people will always tell you to read the guide if you can't get those things to work. Unfortunately if you cannot understand the guide your bound to encounter a number of problems later in your coding days that is if it lasts.

The only thing i could suggest would be to look at the vast number of demos available in the resources section under developers menu, This should help you in some aspects on what you want to do. Albeit you may not be able to understand whats going on but its worth a shot.

Keep reading the demos and guides posted around in Resources and eventually you may be able to get the hang of it. Just make sure you read all the comments so you can understand the code. and as a personal opinion never use a code you don't understand it just causes problems.
---
Please note that in a forum it's not polite to use all bold letters. We can read the normal font. It's also polite to your reader to use capital letters and fullstops.
---



---
"1.i cant get my mob to move and i hella sure know that i cant get them to chase after the usr"

As long as you have a map, a mobile object (mob) and a non dense turf for them to move on then you shouldn't have any problems with movement unless you're editing the way mobs move. You have not specified that so I can't help you with it.
---



---
"2.i cant get overlayers-underlayers"

http://www.byond.com/ members/?command=reference&path=atom%2Fvar%2Foverlays

This I found with a using the search bar. <<<
---



---
"3.i CANNONT get a enemy to attack the usr"

http://www.byond.com/members/ DreamMakers?command=view_post&post=36143

Scroll down to just under : "VI. But I Don't Want a Chatroom!! (Declaring variables)"

Make the HP variable and move to : "VIa. Killing Things... (More built-in procs)"
---
In response to Kyle_ZX
1.I havent been messing with any move scripts

2.cant seem to get overlays in i guess im not getting it

3.thanks ill check it out
In response to Shwb1
hmm seems i already got the attack scripts just cant get them ro work with the usr and not the mob

mob dosnt attack usr
i dont want usr attacking mob D:
im going to try and mess with it to see if i can get it to work with the usr
In response to Shwb1
Shwb1 wrote:
hmm seems i already got the attack scripts just cant get them ro work with the usr and not the mob

It's not clear what you mean by this, but I should point out something important: There is no "the usr". There is "a player". You should get out of the habit of referring to players as usr because outside of verbs, that's basically not true.

The usr var is for convenience in verbs, and it basically refers to whichever player used the verb. Although it gets passed on to any procs called by the verb, in practice it's not safe to make any assumptions about usr in a proc.

mob dosnt attack usr

I believe you mean that you want monsters to attack your players. The best way to figure out what's going wrong is to post the part of the code that deals with this. Do you have a monster AI routine that's not working right?

It will help others to help you if you post as many details as you can, as clearly as you can. We don't really know what you mean by "the mob" because your players have mobs too, as do monsters, NPCs, etc.

Lummox JR
In response to Lummox JR
Ok then ill rewrite this to make it as clear as i can

i cant get the mob to attack the player
i tried to reverse the coding so that the mob was the PLAYER
and the player was the MOB like a playyer attacking a mob but that didnt work

i DO NOT have a AI script thats something i need help with

someone said that a script is built in to make mobs move on their own but my mobs have clear passage nothing blocking them for moving but they just dont move

If anyone thinks that they can help please do
In response to Shwb1
Shwb1 wrote:
i cant get the mob to attack the player

Which mob? You need to be more specific than that. Do you mean a mob belonging to a monster or other enemy?

i DO NOT have a AI script thats something i need help with

someone said that a script is built in to make mobs move on their own but my mobs have clear passage nothing blocking them for moving but they just dont move

You can call walk() to make a mob move on its own, but otherwise it won't. You need some kind of AI routine to make mobs attack your player.

There are some good AI tutorials out there that you could check out on the developers page.

Lummox JR