Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Attach to NPC? (https://forums.graalonline.com/forums/showthread.php?t=21971)

lordhelmut 01-25-2002 04:48 AM

Attach to NPC?
 
Is it possible to make Character looking NPCs (Gaurds) that can act as real gaurds? Like you can fight them off with swords but if they touch you then you lose movement and they carry you into a dungeon?

Shard_IceFire 01-25-2002 05:20 AM

Anything is possible, with barb..er...Gscripting!

Yakuna2001 01-25-2002 06:32 AM

Re: Attach to NPC?
 
Quote:

Originally posted by lordhelmut
Is it possible to make Character looking NPCs (Gaurds) that can act as real gaurds? Like you can fight them off with swords but if they touch you then you lose movement and they carry you into a dungeon?
learn to script.

TDK_RC6 01-25-2002 06:40 AM

i'll get your started

NPC Code:

if (created) {
showcharacter; }


nyghtGT 01-25-2002 07:32 AM

Re: Attach to NPC?
 
Quote:

Originally posted by lordhelmut
Is it possible to make Character looking NPCs (Gaurds) that can act as real gaurds? Like you can fight them off with swords but if they touch you then you lose movement and they carry you into a dungeon?
yeah, here is. You could do
something like whe the gaurd
touchs the player have it 'disabledefmovement'
the player. Then have the player follow
the NPC and like using 'setani walk,;' and
updating the players y and x behind the NPC ....
It make take a little trial and error but its
very possible ....


All times are GMT +2. The time now is 03:48 PM.

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