![]() |
Ok. I give up...
I need help!!!
NPC Code: This is my ATTEMPT at getting the #@$#(@%$# 'washit' flag to work. But, I can't do it! I want to create a baddy that can be fought by multiple people (ie, serverside baddy). Only problem is, the flag 'washit' is clientside! No matter WHAT I try, I cannot get values I set in the clienside portion of the script to "carry over" to the serverside. Anybody know how this is done? It's like the dragon bosses of the bomy moon on New Main. If you hit them, can't everybody see that you damaged it? And the baddies on Providence. I'm pretty sure those can be fought by multiple people. Does ANYBODY UNDERSTAND ME!!??!!??!!?? ......help..... I even tried doing a triggeraction on itself!!! |
please help
|
Be kind! Help me please!
|
I thought all baddies could be killed by people and like if one hits everyone sees.
|
No. I want to script my own baddy. But, the flag 'washit' is only clientside. That is my problem!
|
hmm... maybe you can use trigger actoin, and have a script built into a system npc that triggers an action whenever the player swings his sword... then the baddy has to detect it, and it gets hurt. :D
|
It might work, but I dunno... I wish Stefan would actually reply to me =/
|
*On knees*
HELP ME!!! I feel like breaking things! I am frustrated! Help!!! |
OK
simple solution: do something like if (created) { setshape 1,48,48; } Otherwise the server-side script don't know the size of the npc and asumes that its a hidden npc (which if course cannot be hit). You could also do the command showcharacter on the server-side, then the server would know its an npc that has the size of a player |
Ask and you shall receive, well in most cases.;)
|
Quote:
am I am going on my monthly forum visit :) |
Thanks Stefan! Boy, I am sure stupid this month. 23 more days until I can be un-stupid again:D
|
LoL, All that stress over a problem that is so simply solved
|
Scriptors guids- if youve written one or have one or some please reply
if you have a scriptors guide or guides please email it to me at [email protected] :D
|
Stefan always comes through!
|
All times are GMT +2. The time now is 02:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.