Graal Forums  

Go Back   Graal Forums > Development Forums > Graphic Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-02-2002, 06:58 PM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
Question question

how do i make a npc guy look to the north (in graal ) and set his sprite to a bow
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #2  
Old 03-02-2002, 11:27 PM
NeoNPL NeoNPL is offline
HONEY IM HOME!
NeoNPL's Avatar
Join Date: Jun 2001
Location: Mianus
Posts: 1,361
NeoNPL is on a distinguished road
Send a message via Yahoo to NeoNPL
:grrr: :grrr: :grrr:

Wrong forum again@!!@!@!@!@!@!!@!@!!@
Reply With Quote
  #3  
Old 03-02-2002, 11:36 PM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
ello pissed of kiddie im asking for a guy looking to the north jeez
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #4  
Old 03-03-2002, 01:52 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
NPC Code:

if (playerenters){
playerdir=0;
setani shoot,;
}


The gani may be wrong but that's how you'd do it.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #5  
Old 03-03-2002, 03:25 AM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
thanks
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #6  
Old 03-03-2002, 03:27 AM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
bud whats the deal with npc' s caus this does it to me
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #7  
Old 03-03-2002, 08:26 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
ok josey the script you posted is right but you missed one key element.He wanted it as a NPC not the person & you needed to put the Def.parameter in the gani.
NPC Code:

if (playerenters) {
dir =4;
setcharani shoot,wbow1.png;
}



and next time la_builder post this in the SCRIPTING forum.Not the graphics forum.
__________________
maximus_asinus
Reply With Quote
  #8  
Old 03-03-2002, 04:28 PM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
bud now he shows the ani and than the bow will disapear bud i want it to stay.
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #9  
Old 03-04-2002, 01:13 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Thumbs down woops

Ok I guess you have to put it in a loop.
Try this:
NPC Code:

if (playerenters||timeout) {
dir =4;
setcharani shoot,wbow1.png;
timeout =0.05;
}

__________________
maximus_asinus
Reply With Quote
  #10  
Old 03-05-2002, 01:27 AM
la_builder la_builder is offline
Registered User
Join Date: Jan 2002
Location: Holland
Posts: 154
la_builder is on a distinguished road
nope doesnt works i think i sprite would do it the best
__________________
Dark Frontier
The enemy is surrounding us all,more evil than a human could ever imagine.

Dark Fontier Coming Soon
Reply With Quote
  #11  
Old 03-05-2002, 06:29 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
NPC Code:

// Graal2002 NPC by Stefan Knorr
if (created) {
// Initialize the attributes
showcharacter;
setcharprop #3,head0.png;
setcharprop #C0,orange;
setcharprop #C1,white;
setcharprop #C2,blue;
setcharprop #C3,red;
setcharprop #C4,black;
setcharprop #2,shield1.gif;
shieldpower = 1;
dir = 2;
}
if (playerenters||timeout) {
dir =0;
setcharani shoot,wbow1.png;
timeout =0.05;
}


NOW IT WORKS HAPPY???
__________________
maximus_asinus
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 07:55 PM.


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