Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-13-2011, 11:29 PM
Rave_J Rave_J is offline
Graal Developer
Join Date: Feb 2006
Location: Texas
Posts: 848
Rave_J can only hope to improve
Send a message via AIM to Rave_J Send a message via MSN to Rave_J Send a message via Yahoo to Rave_J
easier way is
just copy the script open level editor
and put it in a npc and hit the style button and it will put it neatly


also i notice
level editor since v6 thing stefan updated
level editor will read most of gs2 from a npc
just dnt make it server side to use
but it will read it clientside just fine
__________________
Graal Developer
Reply With Quote
  #2  
Old 08-13-2011, 11:40 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Rave_J View Post
easier way is
just copy the script open level editor
and put it in a npc and hit the style button and it will put it neatly
No it isn't, and all that does indent your code.

GS2 Beautifier way: Open browser, go to website, paste code, click button.
Level Editor way: Open level editor, drag npc on to level, open npc script window, paste code, click button.

If you even looked at the example you would see that it does so much more than the level editor does.

Quote:
Originally Posted by Deas_Voice View Post
edit; just noticed that your triggerclient is missing the "gui" parameter
It isn't a strict requirement to put "weapon" or "gui" you can just put the weapon's name and it will still work.
__________________
Quote:
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 08:06 PM.


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