![]() |
view
how can I make a script, which permits a player to follow a npc with its view? for example: i shoot a fireball and i want to see where the fireball is, even if i am frezzed or something.
thx for helping and sorry for my bad english ;) |
setfocus x,y;
|
please make an example.
(with the fireball) |
eh?
ummm well the fireball shoots 20 tiles a second... so if you were shooting the fireball right.... if (created) { shootfireball 3; for (i=0;i<64;i++) { setfocus x+i,y; sleep 0.05; } } dunno tho ;) |
That's ok :)
Thanks |
np
|
Quote:
"Im not going to feed you a script you lazy ass" :\ |
Because you wanted a whole script, and that is a code snippet.
Also im feeling extra non-lazy today. |
Quote:
I didnt want a whole script! I asked how to use sin and cos so I could make the script myself! :( |
If we could still download an old version of classic or whatever with graal, we wouldn't have to mess with all this handing out scripts crap. I mean everyone that wanted to script went offline, found some cool scripts and learned from them. Now you have to learn from scratch or have good scripters as friends.
Ohwell, I'd put a link to a zip of the old levels in my sig if I wasn't afeard of being persecuted... |
ummm ya.. just download gserver 1.19 from the first website you find ;o
|
All times are GMT +2. The time now is 08:30 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.