Fail attempt at scripting
#1

Well I attempted to script this from scratch but the #1, the dialog won't show, #2 when you press spawn it says "Stay within the world boundaries"
The script is just an entire fuckup, if someone could re-post this with a fixed version I'd appreciate it, also explaining where I did wrong I'll add you in my credits
Do understand this is my FIRST ever attempt at scripting

Fixed-
Reply
#2

In the script you probably have world boundaries set, and you forgot to take them out/change them. The coords you give may also be wrong, so you may want to just make them a default location like LS, just for debugging purposes.
Reply
#3

#1.

You defined the dialog ID 2003.


pawn Код:
nothing to see here
    }
#2.
I don't see you added the AddPlayerClass script in OnGameModeInit.


pawn Код:
nothing to see here
Reply
#4

Quote:
Originally Posted by Basicz
Посмотреть сообщение
#1.

You defined the dialog ID 2003.

// OnDialogResponse

You may get loose indentation warning and symbol is never used gTeam.
Ignore them.
Thanks a lot, now it works fine I'll be doing some updates on it, but otherwise yeah I made some stupid mistakes XD
Also if you can remove the script from your post that'd be nice so I can do a release without anyone copying the same.
Thanks in advance!
Reply
#5

Quote:
Originally Posted by Darklom
Посмотреть сообщение
Also if you can remove the script
Okay, I'll remove that ASAP.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)