![]() |
|
[Tutorial] SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - Printable Version +- ItsMods (https://www.itsmods.com) +-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html) +--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html) +--- Thread: [Tutorial] SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle (/Thread-Tutorial-SetStance-SetRank-SetCursorHint-SetHintString-SetCardIcon-and-SetCardTitle.html) |
SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - Yamato - 09-20-2011 gives a new tutorialFirst of all, 2 commands that are meant to be used in triggers, like trigger_radius for example, they make a text like when you play and see: "Press SpaceBar to jump" and stuff like that. Code: trigger SetCursorHint("hint");
trigger SetHintString("string");An example of use: Code: trigger SetCursorHint("HINT_NOICON");
trigger SetHintString("I LOVE OMA NOOBTUBING");Now the command SetRank, works like setplayerdata but only for rank and prestige. Code: self SetRank(ranknumber,prestige);Example Code: self SetRank(64,5);Now Ill explain the command SetStance, this command makes you change your stance to stand,crouch or prone, works like this: Code: self SetStance("stance");You can use this 3 stances: Code: prone
stand
crouchThis are 2 commands that allow you to change your cardicon or cardtitle Code: self SetCardIcon("cardicon");
self SetCardTitle("title");Thats it, VOTE FOR
RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - OrangePL - 09-20-2011 Why did you tell that you can't make me prestige 11
RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - Rendflex - 09-20-2011 (09-20-2011, 15:13)Yamato Wrote: I didn't know this worked in MP, ty. RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - zxz0O0 - 09-15-2012 SetRank() is only temporarily for the current game, correct? What about SetCardIcon and SetCardTitle? Are they permanent? RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - Nekochan - 09-15-2012 (09-15-2012, 20:27)zxz0O0 Wrote: SetRank() is only temporarily for the current game, correct? SetRank is for all cods, i saw that in cod4, mw2, bo, mw3. Mostly in _rank.gsc > OnPlayerConnected Yes, they're permanent. RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - zxz0O0 - 09-15-2012 Yeah, SetRank just sets the rank for the scoreboard. I checked the function in MW3, it's just writing to the player's struct (not sending anything to the player). RE: SetStance,SetRank,SetCursorHint,SetHintString,SetCardIcon and SetCardTitle - Yamato - 09-16-2012 (09-15-2012, 20:39)zxz0O0 Wrote: Yeah, SetRank just sets the rank for the scoreboard. I checked the function in MW3, it's just writing to the player's struct (not sending anything to the player). Its for the lvl on here. It is, as @lightspeed said, on _rank.gsc. |