![]() |
Possible?
I was just wondering if it was possible to have an npc that coulds the time that youa re standng still and everytime you move the time resets
|
umm correct me if im wrong Kai but maybe a timevar and a position checker that checks to see if the position has moved like
NPC Code: or somethin like that for the set back part?? |
Quote:
|
sorry Kai posts here the most and usually fixes people mistakes=p, hmm.. is it just me or have been less people postin here lately:(
|
yeah not as much ppl used to post here alot but not as much anymroe
|
its probably laggy and not very good but try this sucka:
NPC Code: thats just a little bit, but toy with it ... |
*starts to tally reasons*
1. They dont script anymore 2. They dont play graal anymore 3. They are so good they dont need help 4. They figure it out themselves:D 5. They just dont care 6. They just dont care about this forum and would rather let it rot:mad: |
Quote:
NPC Code: would this work? |
remember...
when you do an arguement such as: NPC Code: |
Quote:
|
Quote:
NPC Code: But it doesn't really matter... |
I know it doesnt really matter, but it looks cleaner in my opinion
|
for your script just do this.
NPC Code: |
Quote:
NPC Code: |
Quote:
|
Presumably he means clocking the time that you are idle?
|
Quote:
|
Quote:
NPC Code: |
This might work a little better
NPC Code: This would check if you acually MOVED from a spot. |
now that works & much better then mine i may add lol
|
It would be more efficient to check if the player is acually moving than pressing buttons. I also would like to add that
if(condition1 || alikecondition2 || alikecondition3 || alikecondition4 || alikecondition5 || etc etc) isnt a good programming habbit. |
Quote:
|
I don't quite understand...
If you are experiecned enough, nothing could really go wrong @.o |
| All times are GMT +2. The time now is 03:44 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.