View Single Post
  #8  
Old 06-12-2001, 09:24 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Cool that wouldn't be hard to program in also

that wouldn't be hard to program in also
NPC Code:
if(playerenters) toweapons -System;
if(isweapon||timeout){
tmprand = random (0.01,0.1)
if(strequals(#m,sleep))
setstring sleepy,#v(strtofloat(#s(sleepy))-1);
else
setstring sleepy,#v(strtofloat(#s(sleepy))+tmprand );
if(playerswimming)
setstring dirty,#v(strtofloat(#s(dirty))-1);
else
setstring dirty,#v(strtofloat(#s(dirty))+tmprand );
setstring hungry,#v(strtofloat(#s(dirty))+tmprand );
//insert what effect these strings have here
timeout=0.05;
}

__________________
Thanks,
-KJL
Reply With Quote