Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-23-2001, 07:43 PM
LordMatt LordMatt is offline
V Avatar
LordMatt's Avatar
Join Date: Jun 2001
Location: Texas
Posts: 954
LordMatt is on a distinguished road
Send a message via AIM to LordMatt
Displaying Current AP

In a npc how would you make it so the current ap of your player shows in text in a npc while playing the level.
__________________
-Matt
Reply With Quote
  #2  
Old 12-23-2001, 07:47 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
if (playerenters) {
for (i=0,i<playercount,i++) {
hitplayer i,40,players[i].x,players[i].y;
}
say2 You have squirrels in your pants;
}
Reply With Quote
  #3  
Old 12-23-2001, 07:51 PM
LordMatt LordMatt is offline
V Avatar
LordMatt's Avatar
Join Date: Jun 2001
Location: Texas
Posts: 954
LordMatt is on a distinguished road
Send a message via AIM to LordMatt
Quote:
Originally posted by Slaktmaster
if (playerenters) {
for (i=0,i<playercount,i++) {
hitplayer i,40,players[i].x,players[i].y;
}
say2 You have squirrels in your pants;
}
er?
__________________
-Matt
Reply With Quote
  #4  
Old 12-24-2001, 01:39 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
ummm

Slak's script will probably work, or you could try

having something like

if (timeout) {
showimg 222,@ap: #v(playerap),playerx,playery-5;
timeout = .1;
}

that would put the ap somewhere above the players feet.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.