![]() |
Companion npc that follows you (gs1)
1 Attachment(s)
Just for fun, here is a little triggeraction example I made today, in a companion npc that follows you around (yes i know followplayer exists but ... this teaches how to do slightly more than that).
When you play the level, press D and the companion will walk up to you. You can pick up the companion (like you would a bush), throw them, then they get back up and walk right back to you again. Feel free to make it do more stuff if you like, then share your modifications here. ug sorry .. please move to code gallery .. thats what i meant to do |
Just for the record followplayer was removed and does not work anymore.
|
Quote:
|
Quote:
it's not a matter of should and shouldn't, gs1 and gs2 both work - therefore it is a matter of personal preference. |
Im going to learn cobol next year :D
|
Quote:
GS1 is a very poor language by just about any standard, and is very slow compared to GS2. You really should try to pick up GS2, you will like it when you get used to it. |
I would like to make some gs2 stuff again, I have made gui windows before, particles etc even a q menu weapons system replacement in gs2. but after almost 10 years of gs1 it brings me happy memories :)
yes I do have a classic/lifetime account .... so .... how do i sign up for this testbed server? to be able to code in gs2 without having to pay anymore money sounds like a good thing |
Quote:
Talk to Tig or Chompy. |
ok I messaged Chompy, the private message system says it cannot find any user by the name Tig
|
Quote:
Tigairius is his forum account; Tig is the short version of that. >_< |
Quote:
|
Quote:
I'm kidding. :D ...or am I? GS2 is far easier to learn than people make out, as well. You've got GS1 there, so you get the basics by way of rules when using certain functions, so GS2 shouldn't be too hard for you to pick up at all. |
if (created) {} = function onCreated() {}
setplayerprop #c,test; = player.chat = "test"; setplayerprop #c,#v(this.var); = player.chat = this.var; http://wiki.graal.net/index.php/Creation/Dev/GS1_To_GS2 http://wiki.graal.net/index.php/Crea..._to_new_script |
| All times are GMT +2. The time now is 03:23 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.